Constructors
constructor
- new default(screen: default): default
-
Accessors
screen
- get screen(): default
-
Methods
close
- close(id: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | DialogId | `0,${string}` | `1,${string}` | `2,${string}` | `3,${string}` | `4,${string}` | `5,${string}` | `6,${string}` | `7,${string}` | `8,${string}` | `9,${string}` | `10,${string}` | `11,${string}` | `12,${string}` | `13,${string}` | `14,${string}` | `15,${string}` | `16,${string}`, subId?: string): boolean
-
Parameters
-
id: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | DialogId | `0,${string}` | `1,${string}` | `2,${string}` | `3,${string}` | `4,${string}` | `5,${string}` | `6,${string}` | `7,${string}` | `8,${string}` | `9,${string}` | `10,${string}` | `11,${string}` | `12,${string}` | `13,${string}` | `14,${string}` | `15,${string}` | `16,${string}`
-
subId: string = ""
Returns boolean
closeAll
- closeAll(removing?: boolean): boolean
-
Parameters
-
removing: boolean = false
Returns boolean
get
- get<ID>(id: ID, subId?: string): undefined | DialogById[ID]
-
Parameters
-
id: ID
-
Optional
subId: string
Returns undefined | DialogById[ID]
- get<DIALOG>(id: DialogId, subId?: string): undefined | DIALOG
-
Returns undefined | DIALOG
getAll
- getAll(): [DialogId, string][]
-
Returns [DialogId, string][]
- getAll<ID>(id: ID): [DialogId, string][]
-
Returns [DialogId, string][]
- getAll<DIALOG>(id: DialogId): [DialogId, string][]
-
Returns [DialogId, string][]
isVisible
- isVisible(id: DialogId, subId?: string): undefined | boolean
-
Returns undefined | boolean
open
- open<ID>(id: ID, initializer?: ((dialog: DialogById[ID]) => any), subId?: string, highlightIfAlreadyOpen?: boolean): DialogById[ID]
-
Parameters
-
id: ID
-
Optional
initializer: ((dialog: DialogById[ID]) => any)
-
Optional
subId: string
-
Optional
highlightIfAlreadyOpen: boolean
- open<DIALOG>(id: DialogId, initializer?: ((dialog: DIALOG) => any), subId?: string, highlightIfAlreadyOpen?: boolean): DIALOG
-
Parameters
-
-
Optional
initializer: ((dialog: DIALOG) => any)
-
- (dialog: DIALOG): any
-
Returns any
-
Optional
subId: string
-
Optional
highlightIfAlreadyOpen: boolean
Returns DIALOG
toggle
- toggle<ID>(id: ID, force?: boolean, initializer?: ((dialog: DialogById[ID]) => any), subId?: string, highlightIfAlreadyOpen?: boolean): default
-
Parameters
-
id: ID
-
Optional
force: boolean
-
Optional
initializer: ((dialog: DialogById[ID]) => any)
-
Optional
subId: string
-
Optional
highlightIfAlreadyOpen: boolean
- toggle<DIALOG>(id: DialogId, force?: boolean, initializer?: ((dialog: DIALOG) => any), subId?: string, highlightIfAlreadyOpen?: boolean): default
-
Parameters
-
-
Optional
force: boolean
-
Optional
initializer: ((dialog: DIALOG) => any)
-
- (dialog: DIALOG): any
-
Returns any
-
Optional
subId: string
-
Optional
highlightIfAlreadyOpen: boolean
toggleAll
- toggleAll(states: IDialogStates, loaded?: boolean): default
-