toast-notification-timeout-controls¶
toast-notification-timeout-controls refers to the configurable settings that determine how long a toast notification remains visible before automatically disappearing.^[600-developer__frontend__js-plugin__js-plugin.md]
Configuration Options¶
In libraries such as toastr, the timeout behavior is managed through specific options within the plugin's configuration object^[600-developer__frontend__js-plugin__js-plugin.md]. The primary controls include:
timeOut: Defines the standard duration in milliseconds that the notification remains visible.^[600-developer__frontend__js-plugin__js-plugin.md] For example, a setting of"5000"results in a 5-second delay before the message closes.^[600-developer__frontend__js-plugin__js-plugin.md]extendedTimeOut: Sets a different duration in milliseconds that applies specifically when a user interacts with (hovers over) the notification.^[600-developer__frontend__js-plugin__js-plugin.md] This timer initiates once the user stops interacting with the toast (e.g., moves their mouse away).^[600-developer__frontend__js-plugin__js-plugin.md]
Related Concepts¶
- UI/UX
- [[Frontend Development]]
Sources¶
600-developer__frontend__js-plugin__js-plugin.md