bootstrap-combobox
bootstrap-combobox copied to clipboard
How Extensible should this be?
trafficstars
I have some changes I made to allow overriding behaviors like blur and toggle. In short it woulds just like the sort and match overrides. Is this something that other people find valuable? Is this the direction you'd like to go? I'm happy to submit PRs for all these changes. Ideally this would apply to all the basic function, but perhaps it could also allow for calling of the default function too?
var combobox = function ( element, options ) {
...
this.blur = this.options.blur || this.blur;
this.toggle = this.options.toggle || this.toggle;
...
};
I'd rather see events that you can hook then overriding. /2cents.
Probably going to overhaul the publicly accessible events in 2.0, so assigning this issue to that milestone.