Home Reference Source
import ModalDialog from './ui/dialogs/modaldialog.js'
public class | source

ModalDialog

Extends:

cables-shared-client~Events → ModalDialog

open a modal dialog

Example:

new ModalDialog(
{
    "title":"Title",
    "html":"hello world",
});

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

_bg: *

private
private

_ele: *

private
private
private
private

_log: *

private

Method Summary

Public Methods
public

close()

public

getElement(): *

public

html(): *

public
public

show()

public

updateHtml(h: *)

Private Methods
private
private
private
private

Public Constructors

public constructor() source

Private Members

private _bg: * source

private _checkboxGroups: * source

private _ele: * source

private _eleClose: * source

private _eleCloseIcon: * source

private _eleContent: * source

private _log: * source

private _options: * source

Public Methods

public close() source

public getElement(): * source

Return:

*

public html(): * source

Return:

*

public persistInIdleMode(): * source

Return:

*

public show() source

public updateHtml(h: *) source

Params:

NameTypeAttributeDescription
h *

Private Methods

private _addListeners() source

private _choiceSubmit() source

private _getCheckboxStates(): * source

Return:

*

private _promptSubmit(): * source

Return:

*