Reference Source
import AlertManagerState from 'flarum/common/states/AlertManagerState'
public class | source

AlertManagerState

Returned by AlertManagerState.show. Used to dismiss alerts.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

clear()

Clear all alerts.

public

Dismiss an alert.

public
public

show(arg1: undefined, arg2: undefined, arg3: undefined): *

Show an Alert in the alerts area.

Public Constructors

public constructor() source

Public Members

public activeAlerts: {} source

public alertId: number source

Public Methods

public clear() source

Clear all alerts.

public dismiss(key: undefined) source

Dismiss an alert.

Params:

NameTypeAttributeDescription
key undefined

public getActiveAlerts(): * source

Return:

*

public show(arg1: undefined, arg2: undefined, arg3: undefined): * source

Show an Alert in the alerts area.

Params:

NameTypeAttributeDescription
arg1 undefined
arg2 undefined
arg3 undefined

Return:

*