Namespace: toast

qui.messages.toast

Methods

(static) error(message)

Convenience function for qui.messages.toast.show with default timeout and type "error".

Parameters:
Name Type Description
message String | jQuery

the message to show

Source:

(static) hide()

Hide a currently displayed toast message.

Source:

(static) info(message)

Convenience function for qui.messages.toast.show with default timeout and type "info".

Parameters:
Name Type Description
message String | jQuery

the message to show

Source:

(static) show(message, typenullable, timeoutopt, closeableopt)

Show a toast message for a limited period of time.

Parameters:
Name Type Attributes Description
message String | jQuery

the message to show

type String <nullable>

message type ("info", "warning" or "error")

timeout Number <optional>

the message display timeout, in milliseconds (defaults to 5 seconds)

closeable Boolean <optional>

whether the message can be closed by the user (defaults to true)

Source:

(static) warning(message)

Convenience function for qui.messages.toast.show with default timeout and type "warning".

Parameters:
Name Type Description
message String | jQuery

the message to show

Source: