Skip to content
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

Add 'destroy' method to documentation #2

Closed
matlembo opened this issue Nov 9, 2013 · 1 comment
Closed

Add 'destroy' method to documentation #2

matlembo opened this issue Nov 9, 2013 · 1 comment

Comments

@matlembo
Copy link

matlembo commented Nov 9, 2013

Fantastic plugin.

Just thought you might want to add the 'destroy' option to the documentation as it's really handy for creating on hover parallax effects, for instance, but I had to look through the plugin code to find it!

$('#my-element').hover(
    function(){
        $(this).parallaxify(args);
    },
    function(){
        $(this).parallaxify('destroy');
    }
);
@hwthorn
Copy link
Owner

hwthorn commented Nov 11, 2013

Thank you for pointing it out. Just added it to the documentation.

@hwthorn hwthorn closed this as completed Nov 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants