-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
luci-base: ui: extend addNotification to handle a user-provided timeout
A millisecond value after which the notification will disappear automatically. If omitted, the notification will remain until it receives the click event. Existing calls are unaffected. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
- Loading branch information
1 parent
b9496f2
commit 53e36e3
Showing
1 changed file
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53e36e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does anyone requested and use the feature? Which value to select? Maybe we can just make a default value? Do we have so many notifications so that a user is annoyed?