Dialog
Direct Subclass:
OS.js default Dialog implementation
Creates a Window with predefined content and actions(s)
Constructor Summary
Public Constructor | ||
public |
constructor(core: Core, args: Object, options: Object, callback: Function) Constructor |
Method Summary
Public Methods | ||
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 Methods
public createButtons(states: Object): Object[] source
Gets the button (virtual) DOM elements
Params:
Name | Type | Attribute | Description |
states | Object |
|
Button states |