mincu-ui
Classes
Classes
Class: UIModule
Constructors
constructor
• new UIModule()
Properties
backPress
• backPress: Object
Type declaration
| Name | Type |
|---|---|
bind | (cb: () => void, onResulst?: (success: boolean) => void) => () => void |
unbind | (cb: () => void) => void |
orientation
• orientation: typeof Orientation
Since
iNCU 5.9.7+
toast
• toast: Object
Type declaration
| Name | Type |
|---|---|
fail | (title: string, during?: number) => Promise<number> |
info | (title: string, during?: number) => Promise<number> |
loading | (title: string, during?: number) => Promise<() => void> |
remove | (key: number) => Promise<void> |
success | (title: string, during?: number) => Promise<number> |
Methods
exit
▸ exit(): void
Returns
void
handleShowHeader
▸ handleShowHeader(value): Promise<boolean>
Parameters
| Name | Type |
|---|---|
value | boolean |
Returns
Promise<boolean>
setBarStyle
▸ setBarStyle(style): void
Parameters
| Name | Type |
|---|---|
style | StatusBarStyle |
Returns
void
toScreen
▸ toScreen(config): void
Parameters
| Name | Type |
|---|---|
config | NavConfig |
Returns
void
Instance
▸ Static Instance(): UIModule