Skip to content

add destroy functionality #80

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

Merged
merged 1 commit into from
Dec 21, 2015
Merged

Conversation

LOK-Soft
Copy link
Contributor

This pull request will add destroy functionality.
The functionality is used like this
$el.parallax(); //init
$el.parallax('destroy'); //destroy

If the destroyed element is the last parallax instance the events are cleared.

wstoettinger added a commit that referenced this pull request Dec 21, 2015
add destroy functionality
@wstoettinger wstoettinger merged commit 410bb4f into pixelcog:master Dec 21, 2015
@rkingon
Copy link

rkingon commented Aug 9, 2018

Can this be added to the docs / readme?

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

Successfully merging this pull request may close these issues.

3 participants