Skip to content

Add 'destroy' method to documentation #2

@matlembo

Description

@matlembo

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');
    }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions