You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.
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).
The text was updated successfully, but these errors were encountered:
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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).The text was updated successfully, but these errors were encountered: