Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.9.0 <= v < 1.0.0

Ui.Notification

A component for displaying a notification.

States

shown
:
Bool
=
false

A state for tracking the whether or not the notification is shown.

Properties

content
:
Html
=
<{ }>

The content to display in the notification.

duration
:
Number
=
0

The duration of the notification.

Functions

componentDidMount
:
Promise(Void)

Runs when the component is mounted.

handleClick
:
Promise(Void)

The click event handler.

render
:
Html

Renders the component.