An options object for creating a notification.


  • IOptions


message?: string

The message to show on notification.

placement?: Placement

The placement of the notification.

The default is 'bottom'.

target: HTMLElement

Target element to attach notification to.

timeout?: number

Duration in ms after which to close notification popup.

The default is undefined, and notification is kept visible Timeout value needs to be greater than zero

Generated using TypeDoc