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

CSS Class based on pin state #6

Merged
merged 1 commit into from May 8, 2013
Merged

CSS Class based on pin state #6

merged 1 commit into from May 8, 2013

Conversation

MikeGrace
Copy link
Contributor

Option to add and remove class to element being pinned as the pinning state changes. This allows CSS targeting based on if the element is being pinned or not. Passed in as an option [activeClass] when calling pin function.

$('.please-pin-me').pin({ activeClass: 'currently-pinned' });

… state changes. This allows CSS targeting based on if the element is being pinned or not.
biilmann added a commit that referenced this pull request May 8, 2013
CSS Class based on pin state
@biilmann biilmann merged commit a29aced into webpop:gh-pages May 8, 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

Successfully merging this pull request may close these issues.

None yet

2 participants