You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ The notification object has the following properties:
107
107
| level | string | null | Level of the notification. Available: **success**, **error**, **warning** and **info**|
108
108
| position | string | tr | Position of the notification. Available: **tr (top right)**, **tl (top left)**, **tc (top center)**, **br (bottom right)**, **bl (bottom left)**, **bc (bottom center)**|
109
109
| autoDismiss | integer | 5 | Delay in seconds for the notification go away. Set this to **0** to not auto-dismiss the notification |
110
-
| dismissible |bool| true | Set if notification is dismissible by the user. [See more](#dismissible)|
110
+
| dismissible |string| both | Settings controlling how the user can dismiss the notification and whether the dismiss button is visible. Available: **both (The disable button is visible and the user can click anywhere on the notification to dismiss)**, **click (The disable button is NOT visible and the user can click anywhere on the notification to dismiss)**, **button (The user can click on the disable button to dismiss the notifiction)**, **none (None [See more](#dismissible))**|
111
111
| action | object | null | Add a button with label and callback function (callback is optional). [See more](#action)|
112
112
| children | element,string | null | Adds custom content, and overrides `action` (if defined) [See more](#children)|
113
113
| onAdd | function | null | A callback function that will be called when the notification is successfully added. The first argument is the original notification e.g. `function (notification) { console.log(notification.title + 'was added'); }`|
@@ -117,7 +117,7 @@ The notification object has the following properties:
117
117
118
118
### Dismissible
119
119
120
-
If set to false, the notification will not display the dismiss ('x') button and will only be dismissible programmatically or after autoDismiss timeout. [See more](#removenotificationnotification)
120
+
If set to 'none', the button will only be dismissible programmatically or after autoDismiss timeout. [See more](#removenotificationnotification)
0 commit comments