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

Public Members
public

: *

Private Members
private
private
private
private

bg: *

private

ele: *

private
private

log: *

private

Method Summary

Public Methods
public

close()

public

getElement(): *

public

html(): *

public
public

show()

public

updateHtml(h: string)

Private Methods
private
private
private
private

Public Constructors

public constructor(options: ModalDialogOptions) source

Params:

NameTypeAttributeDescription
options ModalDialogOptions

Public Members

public : * source

Private Members

private _checkboxGroups: * source

private _eleClose: * source

private _eleCloseIcon: * source

private bg: * source

private ele: * source

private eleContent: * source

private log: * source

private options: ModalDialogOptions source

Public Methods

public close() source

public getElement(): * source

Return:

*

public html(): * source

Return:

*

public persistInIdleMode(): * source

Return:

*

public show() source

public updateHtml(h: string) source

Params:

NameTypeAttributeDescription
h string

Private Methods

private _choiceSubmit() source

private _getCheckboxStates(): * source

Return:

*

private _promptSubmit(): * source

Return:

*

private addListeners() source