Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Inside of Builder.jquery, allow for default options #1

Open
twolfson opened this issue Jan 17, 2013 · 1 comment
Open

Inside of Builder.jquery, allow for default options #1

twolfson opened this issue Jan 17, 2013 · 1 comment

Comments

@twolfson
Copy link
Collaborator

Currently, it is clunky to specify default options for a plugin. You always have to wrap it in another plugin, we should provide some help here.

Add another option called defaultOpts or something similar which can either be a function (which is run on the element) or anything else (used as first parameter).

@twolfson
Copy link
Collaborator Author

We might even one to upgrade it by making it an array and using .apply all the time. However, that would be best suited as another property for a high/low level API.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant