Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ControlBox

Hierarchy

  • ControlBox

Index

Constructors

constructor

Properties

context

context: __type

element

element: HTMLElement

Methods

Private _initElement

  • _initElement(spec: any, actionElement: any): HTMLElement
  • Parameters

    • spec: any
    • actionElement: any

    Returns HTMLElement

addCheckBox

  • addCheckBox(spec: object): void
  • Parameters

    • spec: object
      • label: string
      • onChange: function
          • (checked: boolean): void
          • Parameters

            • checked: boolean

            Returns void

    Returns void

addRangeBox

addRangeBoxList

addSelectBox

  • addSelectBox(spec: object): void
  • Parameters

    • spec: object
      • Optional default?: string | number | boolean
      • label: string
      • onChange: function
          • (value: any): void
          • Parameters

            • value: any

            Returns void

      • options: (string | number | true | false)[]

    Returns void

addTextBox

  • addTextBox(spec: object): void
  • Parameters

    • spec: object
      • label: string
      • onChange: function
          • (value: any): void
          • Parameters

            • value: any

            Returns void

    Returns void

Generated using TypeDoc