Magicsuggest / magicsuggest

Multiple Selection Combo Box using Bootstrap 3
nicolasbize.com/magicsuggest/
1.3k stars 269 forks source link

Global config for all magicsuggests #354

Closed getupkid closed 2 years ago

getupkid commented 2 years ago

Hello, I couldn't see this in the documentation. Is there are way to set a global config parameter that all magic suggests inherit in a project so that one doesn't need to specify it each time they instantiate and new magic suggest?

e.g. $.magicSuggest({ maxDropHeight: 300 });

// Now all magicSuggests that I instantiate will have maxDropHeight: 300 automatically applied.

Cheers.

zergioz commented 2 years ago

Not as of yet, but it could be implemented.