Hierarchy (View Summary)

Constructors

Properties

_closed: boolean = false
buttons: {}
columns: undefined | any[]
config: {
    buttons?: object[];
    columns?: any;
    doc?: any;
    footer?: boolean;
    height?: any;
    maxHeight?: any;
    position?: integer[];
    title?: string;
    width?: any;
}
controls: undefined | {}
controlValues: undefined | {}
dialog: HTMLDivElement
footer: undefined | HTMLDivElement
header: HTMLDivElement
observable: { container: any }
outer: HTMLDivElement
experiment: { [k: string]: unknown }

Methods

  • This method should be overridden if the layout needs updating on resize

    Parameters

    • x: integer

      the new width of the dialog

    • y: integer

      the new height of the dialog

    Returns void

  • Create a text input field

    Parameters

    • s: { defaultValue: string; id: string; validate: Function }

      settings object

      • defaultValue: string

        default value (optional)

      • id: string

        id of the control

      • validate: Function

        function to validate the input (optional). current implementation will check strict equality with true to determine if the input is valid, returning a boolean. This value will be used to add or remove the 'invalid' class from the input field. We may want to change this to allow for more complex behavior in the future (i.e. give the user some information).

    • d: any

    Returns void