Toasts: Info

Method info() shows new info toast.

Syntax

AWN.info([message,options])

Parameters

message - optional

Defines message of the toast. Can be any valid HTML or text string. Will be set from defaults if omitted.

options - optional

Instance of Options, which will override globals for this call

Return value

A new HTMLElement instance

Examples

Use defaults

new AWN().info()

Use custom

new AWN().info('Custom info message', {durations: {info: 0}})