Some users are displeased with sticky notifications, as it requires an extra step to dismiss them. On busy pages, having to actively remove a not-so-important notification, such as "Changes saved" can be quite annoying.
The plug-in provides the following notification dismiss functionality:
- The "Default" button example creates a default notification. You have to click the X button to dismiss it.
- The "Dismiss On Click" button example creates a notification that can also be dismissed on click, anywhere on the notification. If the user is in the process of selecting text in the notification, it will not be dismissed.
- The "Autodismiss" button example creates a notification with the autodismiss option enabled. The notification will be dismissed after a specified amount of time. The user will also see a visual bar representing the remaining time. On hover of the notification, the process of autodismissal will be stopped and it will need to be manually dismissed.
The dismiss settings can be applied globally, in the component settings, and optionally be overridden at plug-in instance level.
|