Skip to content

@serenity-is/corelib / defaultNotifyOptions

Variable: defaultNotifyOptions

defaultNotifyOptions: ToastrOptions

Defined in: src/base/notify.ts:14

Default options applied to every toast notification. Individual calls may override these via their options argument.

Remarks

Mutate this object to change application-wide notification defaults (e.g. timeout or position).

Example

defaultNotifyOptions.timeOut = 3000;
defaultNotifyOptions.positionClass = "toast-top-right";