-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to override options? #38
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`$.fn.Morphext.defaults = {
animation: "fadeInLeft"
};
let morp = $('.js-rotating').Morphext();
let dataMorp = morp.data("plugin_Morphext");
console.log(dataMorp);
`
i'm try to override it but when it check the animation has't changed
By the way i want to use it in the selector '.js-rotating' that will trigger when event handler is mousehover. So the next is using this dataMorp.start() function that why i not set the animation on this line $('.js-rotating').Morphext() this is just for check current animation;
The text was updated successfully, but these errors were encountered: