Constructor Summary
| Public Constructor | ||
| public |
constructor(core: Core, args: Object, callback: Function) Constructor |
|
Method Summary
| Public Methods | ||
| public |
setProgress(value: Number) Set the progress value |
|
| public |
Set the status text |
|
Inherited Summary
| From class Dialog | ||
| public |
createButtons(states: Object): Object[] Gets the button (virtual) DOM elements |
|
| public |
createView(children: Object[], state: Object): Object Creates the default view |
|
| public |
destroy() Destroys the dialog |
|
| public |
emitCallback(name: String, ev: Event, close: Boolean) Emits the callback |
|
| public |
Gets the first negative button |
|
| public |
Gets the first positive button |
|
| public |
getValue(): * Gets the dialog result value |
|
| public |
|
|
| public |
Renders the dialog |
|
Public Constructors
public constructor(core: Core, args: Object, callback: Function) source
Constructor
Override:
Dialog#constructorParams:
| Name | Type | Attribute | Description |
| core | Core | OS.js Core reference |
|
| args | Object | Arguments given from service creation |
|
| args.title | String |
|
Dialog title |
| args.message | String |
|
Dialog message |
| args.status | String |
|
Dialog status message |
| args.progress | String |
|
Initial progress value |
| args.buttons | String[] |
|
Override dialog buttons |
| callback | Function | The callback function |
