Skip to content

Notice.setAutoHide method

Notice › setAutoHide

Unofficial

Schedules the notice to auto-hide after the given duration, clearing any existing timer.

Signature:

setAutoHide(timeoutMilliseconds: number): this

Parameters:

Parameter Type Description
timeoutMilliseconds number The delay before hiding, in milliseconds. 0 disables auto-hide.

Returns: thisThe notice instance, for chaining.