Namespace
ui
ui: {
setTitle: ((title) => Promise<void>);
setDescription: ((description) => Promise<void>);
setBacklinkLabel: ((label) => Promise<void>);
setStatusLoading: ((isLoading?) => Promise<void>);
setStatusSuccess: ((opts) => Promise<void>);
setStatusError: ((opts) => Promise<void>);
enableExitConfirmation: ((opts) => Promise<void>);
disableExitConfirmation: (() => Promise<void>);
} = ...
Type declaration
Readonly
setTitle: ((title) => Promise<void>)
- (title): Promise<void>
Returns Promise<void>
Readonly
setDescription: ((description) => Promise<void>)
- (description): Promise<void>
Returns Promise<void>
Readonly
setBacklinkLabel: ((label) => Promise<void>)
- (label): Promise<void>
Returns Promise<void>
Readonly
setStatusLoading: ((isLoading?) => Promise<void>)
- (isLoading?): Promise<void>
Parameters
- isLoading: boolean = true
Returns Promise<void>
Readonly
setStatusSuccess: ((opts) => Promise<void>)
- (opts): Promise<void>
Parameters
- opts: {
title?: string;
message?: string;
}Optional
title?: string
Optional
message?: string
Returns Promise<void>
Readonly
setStatusError: ((opts) => Promise<void>)
- (opts): Promise<void>
Parameters
- opts: {
title?: string;
message?: string;
}Optional
title?: string
Optional
message?: string
Returns Promise<void>
Readonly
enableExitConfirmation: ((opts) => Promise<void>)
- (opts): Promise<void>
Parameters
- opts: {
title?: string;
message?: string;
confirm?: string;
ignore?: string;
}Optional
title?: string
Optional
message?: string
Optional
confirm?: string
Optional
ignore?: string
Returns Promise<void>
Readonly
disableExitConfirmation: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>