Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Label

Hierarchy

Implements

Index

Constructors

constructor

  • new Label(text: string): Label
  • Parameters

    • text: string

    Returns Label

Methods

addClass

  • addClass(cls: string): this

buildInit

css

  • css(css: object): this
  • Parameters

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

    Returns this

getElem

  • getElem(): JQuery

getHtml

  • getHtml(): string
  • Returns string

getText

  • getText(): string
  • Returns string

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

setHtml

  • setHtml(html: string | JQuery): this
  • Parameters

    • html: string | JQuery

    Returns this

setText

  • setText(text: string): this
  • Parameters

    • text: string

    Returns this

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

setVisible

  • setVisible(visible: boolean): this

trigger

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

    • event: string
    • Optional extraParameters: any

    Returns this

Static wrapControl