Search
Preparing search index...
The search index is not available
Builder plugin API reference
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Modules
"WYSIWYGControl"
WYSIWYGControl
Class WYSIWYGControl
Hierarchy
UIComponent
WYSIWYGControl
Implements
UIBuildable
<
WYSIWYGControlDef
>
Index
Constructors
constructor
Properties
editor
Chosen
Language
text
Div
Methods
add
Class
build
Init
css
get
Elem
get
Value
get
Wrapped
Control
off
on
on
Switch
Language
remove
Class
set
Enabled
set
Title
set
Tooltip
set
Value
set
Visible
trigger
convert
Plain
Text
ToHtml
wrap
Control
Constructors
constructor
new WYSIWYGControl
(
tag
?:
undefined
|
string
)
:
WYSIWYGControl
Parameters
Optional
tag:
undefined
|
string
Returns
WYSIWYGControl
Properties
editor
Chosen
Language
editor
Chosen
Language
:
string
|
null
text
Div
text
Div
:
JQuery
Methods
add
Class
add
Class
(
cls
:
string
)
:
this
Parameters
cls:
string
Returns
this
build
Init
build
Init
(
data
:
WYSIWYGControlDef
, fields
:
UIComponentList
)
:
void
Parameters
data:
WYSIWYGControlDef
fields:
UIComponentList
Returns
void
css
css
(
css
:
object
)
:
this
Parameters
css:
object
[
key:
string
]:
any
Returns
this
get
Elem
get
Elem
(
)
:
JQuery
Returns
JQuery
get
Value
get
Value
(
)
:
IMultiLangText
Returns
IMultiLangText
get
Wrapped
Control
get
Wrapped
Control
(
)
:
object
|
null
Returns
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
on
Switch
Language
on
Switch
Language
(
langCode
:
string
, fromEditor
:
boolean
)
:
void
Parameters
langCode:
string
fromEditor:
boolean
Returns
void
remove
Class
remove
Class
(
cls
:
string
)
:
this
Parameters
cls:
string
Returns
this
set
Enabled
set
Enabled
(
enabled
:
boolean
)
:
void
Parameters
enabled:
boolean
Returns
void
set
Title
set
Title
(
title
:
string
)
:
this
Parameters
title:
string
Returns
this
set
Tooltip
set
Tooltip
(
value
:
string
|
boolean
, placement
?:
undefined
|
string
, trigger
?:
undefined
|
string
)
:
void
Parameters
value:
string
|
boolean
Optional
placement:
undefined
|
string
Optional
trigger:
undefined
|
string
Returns
void
set
Value
set
Value
(
html
:
IMultiLangText
, langCode
?:
undefined
|
string
)
:
this
Parameters
html:
IMultiLangText
Optional
langCode:
undefined
|
string
Returns
this
set
Visible
set
Visible
(
visible
:
boolean
)
:
this
Parameters
visible:
boolean
Returns
this
trigger
trigger
(
event
:
string
, extraParameters
?:
any
)
:
this
Parameters
event:
string
Optional
extraParameters:
any
Returns
this
Static
convert
Plain
Text
ToHtml
convert
Plain
Text
ToHtml
(
text
:
IMultiLangText
|
null
)
:
IMultiLangText
Parameters
text:
IMultiLangText
|
null
Returns
IMultiLangText
Static
wrap
Control
wrap
Control
(
control
:
object
)
:
UIComponent
Wrap control instance in UIComponent
Parameters
control:
object
Returns
UIComponent
Modules
"WYSIWYGControl"
WYSIWYGControl
constructor
editor
Chosen
Language
text
Div
add
Class
build
Init
css
get
Elem
get
Value
get
Wrapped
Control
off
on
on
Switch
Language
remove
Class
set
Enabled
set
Title
set
Tooltip
set
Value
set
Visible
trigger
convert
Plain
Text
ToHtml
wrap
Control
WYSIWYGControl
Def
Wrap control instance in UIComponent