Questions or comments?
Make content dismissable by users.
- You want to allow the user to dismiss non-primary content that they only need to see once (e.g., advertisements, notices).
Do not use when
The content is primary content.
Working example of the dismissable content plugin
How to implement
- Add the class
wb-dismissableto the element that contains the content you want to make dismissable.
There are no configuration options.
Source code for the dismissable content plugin on GitHub
- Date modified: