bootstrap-combobox icon indicating copy to clipboard operation
bootstrap-combobox copied to clipboard

How Extensible should this be?

Open osbornm opened this issue 12 years ago • 2 comments
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;
    ...
};

osbornm avatar Oct 15 '13 18:10 osbornm

I'd rather see events that you can hook then overriding. /2cents.

thephw avatar May 13 '14 19:05 thephw

Probably going to overhaul the publicly accessible events in 2.0, so assigning this issue to that milestone.

thephw avatar May 13 '14 22:05 thephw