Interface INotifyOption

Interface for the Notify's optional parameter.

Index

Properties

Methods

Properties

optional public body?: string

notification message body

optional public icon?: string

path for icon to display in notification

optional public notifyClick?: Function

callback when notification is clicked

optional public notifyClose?: Function

callback when notification is closed

optional public notifyError?: Function

callback when notification throws an error

optional public permissionDenied?: Function

callback when user has denied permission

optional public permissionGranted?: Function

callback when user has granted permission

optional public tag?: string

unique identifier to stop duplicate notifications

Methods

optional public notifyShow(e: Event): any

callback when notification is shown

Parameters

  • e: Event

Returns

any