Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CheckBox

Hierarchy

Index

Constructors

constructor

  • new CheckBox(label: string | UIComponent, value?: undefined | false | true, inline?: undefined | false | true): CheckBox
  • Parameters

    • label: string | UIComponent
    • Optional value: undefined | false | true
    • Optional inline: undefined | false | true

    Returns CheckBox

Methods

addClass

  • addClass(cls: string): this

css

  • css(css: object): this
  • Parameters

    • css: object
      • [key: string]: any

    Returns this

getElem

  • getElem(): JQuery

getLabel

  • getLabel(): string
  • Returns string

getValue

  • getValue(): boolean
  • Returns boolean

getWrappedControl

  • getWrappedControl(): object | null

off

  • off(event: string, callback: function): this
  • Parameters

    • event: string
    • callback: function
        • (e?: JQueryEventObject): void
        • Parameters

          • Optional e: JQueryEventObject

          Returns void

    Returns this

on

  • on(event: string, callback: function): this
  • Parameters

    • event: string
    • callback: function
        • (e?: JQueryEventObject): void
        • Parameters

          • Optional e: JQueryEventObject

          Returns void

    Returns this

removeClass

  • removeClass(cls: string): this

setEnabled

  • setEnabled(enabled: boolean): void

setLabel

  • setLabel(label: string): void
  • Parameters

    • label: string

    Returns void

setTitle

  • setTitle(title: string): this

setTooltip

  • setTooltip(value: string | boolean, placement?: undefined | string, trigger?: undefined | string): void
  • Parameters

    • value: string | boolean
    • Optional placement: undefined | string
    • Optional trigger: undefined | string

    Returns void

setValue

  • setValue(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setVisible

  • setVisible(visible: boolean): this

trigger

  • trigger(event: string, extraParameters?: any): this
  • Parameters

    • event: string
    • Optional extraParameters: any

    Returns this

Static wrapControl