Notification<mds-notification>Generated from @maggioli-design-system/magma@2.3.0dist/documentation.json. Encapsulation: shadow.
Magma components are web components: custom elements you write like HTML tags, with any framework or without one. Props configure them, events tell you what happened, methods are functions you call on the element and slots take the content you put inside it.
Props
Set a prop as an HTML attribute in the markup, or as a property from JavaScript. The Attribute column gives the name of the attribute, a dash when it is the same as the property; props without one, such as arrays and functions, are set from JavaScript only. To turn a boolean attribute off, remove it: never write disabled="false".dismissed
-
booleanfalseSpecifies if the notification is dismissed
max
-
number | undefinedSpecifies the maximum number that can be seen, assuming that the number is for example 9 and that this is exceeded with 15, the component shows +9
strategy
-
absolute | disabled | fixedfixedSpecifies the position strategy of the notification
target
-
stringSpecifies the selector of the target element, this attribute is used with querySelector method.
value
-
number0Specifies number of notifications to display, if it set to 0, the element will be hidden