Skip to content

Confirm

Used to show feedback after an activity.

Basic usage

Displays at the top, and disappears after 3 seconds.

Loading Message

The showLoadingMessage command is used to display the loaded message.

API

Options

NameDescriptionTypeDefault
typemessage type'info' | 'success' | 'warning' | 'error''info'
messagemessage textstring''
iconcustom icon component, overrides typestring-
durationdisplay duration, millisecond. If set to 0, it will not turn off automaticallynumber3000

Methods

NameDescriptionParameters
closeclose the Message, showMessage or showLoadingMessage return function-
clearMessageclose all Message-

Released under the MIT License.