Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Conversation

@redjohn
Copy link

@redjohn redjohn commented Oct 26, 2011

Hey, I don't know if you'll find this useful or not, but I added the ability to call a function when the pop is made active/inactive.

You just pass the functions you want run as part of the options to $.pop:

$.pop({
    onPopActive: function() { console.log("pop is active"); },
    onPopInactive: function() { console.log("pop is active"); }
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant