Skip to content

CSS Class based on pin state#6

Merged
biilmann merged 1 commit intowebpop:gh-pagesfrom
MikeGrace:gh-pages
May 8, 2013
Merged

CSS Class based on pin state#6
biilmann merged 1 commit intowebpop:gh-pagesfrom
MikeGrace:gh-pages

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.

2 participants