Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WYSIWYGControl

Hierarchy

Implements

Index

Constructors

constructor

Properties

editorChosenLanguage

editorChosenLanguage: string | null

textDiv

textDiv: JQuery

Methods

addClass

  • addClass(cls: string): this

buildInit

css

  • css(css: object): this
  • Parameters

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

    Returns this

getElem

  • getElem(): JQuery

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

onSwitchLanguage

  • onSwitchLanguage(langCode: string, fromEditor: boolean): void
  • Parameters

    • langCode: string
    • fromEditor: boolean

    Returns void

removeClass

  • removeClass(cls: string): this

setEnabled

  • setEnabled(enabled: boolean): 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

  • Parameters

    Returns this

setVisible

  • setVisible(visible: boolean): this

trigger

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

    • event: string
    • Optional extraParameters: any

    Returns this

Static convertPlainTextToHtml

Static wrapControl