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

Added data attribute to modify class of element when overlay is shown #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apophiz-gd
Copy link

Often when the overlay is shown, users may want to customize the css of the element only for the duration during which the overlay is shown. For example, in the demo, a white border might be added to the image when the overlay is shown ( https://apophiz-gd.github.io/chardin.js/ ). This commit adds an attribute 'appendclass' which add's css classes when the overlay is shown.

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.

1 participant