Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlertBox

Hierarchy

Index

Properties

Static STYLE_DANGER

STYLE_DANGER: string

Static STYLE_DEFAULT

STYLE_DEFAULT: string

Static STYLE_INFO

STYLE_INFO: string

Static STYLE_PRIMARY

STYLE_PRIMARY: string

Static STYLE_SUCCESS

STYLE_SUCCESS: string

Static STYLE_WARNING

STYLE_WARNING: string

Methods

addClass

  • addClass(cls: string): this

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

setBoxStyle

  • setBoxStyle(style: string): this
  • Parameters

    • style: string

    Returns this

setEnabled

  • setEnabled(enabled: boolean): void

setHtml

  • setHtml(html: string): this
  • Parameters

    • html: string

    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