Skip to content

Commit e4b12cc

Browse files
committed
docs: toast notification spec, not yet implemented tho
1 parent 85e5dec commit e4b12cc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/appNotifications/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ A sample json is as follows:
8787
2. `MENU_CLICK:<commandID>` : When a command is executed by clicking on a ui menu item.
8888
3. `KEYBOARD_SHORTCUT:<commandID>` : When a command is executed by keyboard shortcut.
8989
4. `HTML_ELEMENT:<jquery selector>` : On click on the given html element with jquery selector.
90-
3. `HTML_CONTENT`: The actual html content to show to the user. It can have an optional `notification_ack` class.
90+
3. `TYPE` : Can be one of `ERROR/WARN/INFO/SUCCESS`.
91+
4. `HTML_CONTENT`: The actual html content to show to the user. It can have an optional `notification_ack` class.
9192
Setting this class in any child html node will cause the notification to be shown once a day until the user explicitly clicks
9293
on any html element with class `notification_ack` or explicitly click the close button.
9394
If such a class is not present, then the notification is shown only once ever.

0 commit comments

Comments
 (0)