Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new MultilangTextField(value: string, isTextarea?: undefined | false | true, resizable?: undefined | false | true): MultilangTextField
  • Parameters

    • value: string
    • Optional isTextarea: undefined | false | true
    • Optional resizable: undefined | false | true

    Returns MultilangTextField

Methods

addClass

  • addClass(cls: string): this

css

  • css(css: object): this
  • Parameters

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

    Returns this

focus

  • focus(): void
  • Returns void

getElem

  • getElem(): JQuery

getInputs

  • getInputs(): JQuery[]
  • Returns JQuery[]

getText

  • getText(): string
  • Returns string

getValue

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

setHeight

  • setHeight(height: number | string): void
  • Parameters

    • height: number | string

    Returns void

setModified

  • setModified(modified: boolean): void
  • Parameters

    • modified: boolean

    Returns void

setOnChange

  • setOnChange(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

setOnReload

  • setOnReload(callback: function): void

setPlaceholder

  • setPlaceholder(placeholder: string | null, toAll?: undefined | false | true): void
  • Parameters

    • placeholder: string | null
    • Optional toAll: undefined | false | true

    Returns void

setText

  • setText(text: string, langCode: string): void
  • Parameters

    • text: string
    • langCode: 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

setVisible

  • setVisible(visible: boolean): this

trigger

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

    • event: string
    • Optional extraParameters: any

    Returns this

Static wrapControl