Skip to content

Notification

Xavier Julián edited this page Dec 15, 2015 · 3 revisions

A notification message component on the top of the screen. Is commonly used for flash messaging the users about the status of an action.

<polymux-notification level="warning" display="visible">

A polymux-notification component can accept two properties:

  • Level (optional): We can set different warning levels foir styling

    • Success: It will show the success notification
    • Warning: It will show the warning notification
    • Error: It will show the error notification
  • Display (optional): If set to visible it will show the notification message on page load.

A polymux-notification component can accept one method:

  • toggleNotification(): It will show or hide the notification message.
Clone this wiki locally