Dismissable content
Looking for WET v3.1?
As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the wet-boew-legacy repository.
Purpose
Make content dismissable by users.
Use when
- 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
How to implement
- Add the class
wb-dismissable
to the element that contains the content you want to make dismissable.
Configuration options
There are no configuration options.
Events
To complete.
Source code
- Date modified: