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
"TextField"
TextField
Class TextField
Hierarchy
UIComponent
TextField
Implements
UIBuildable
<
TextFieldDef
>
Index
Constructors
constructor
Properties
elem
input
text
Area
Methods
add
Class
build
Init
css
focus
get
Elem
get
Placeholder
get
Text
get
Value
get
Wrapped
Control
insert
AtCursor
off
on
prepare
AdOn
remove
Class
set
AsPassword
set
Enabled
set
Name
set
Placeholder
set
Resizable
set
Text
set
Title
set
Tooltip
set
Value
set
Visible
trigger
wrap
Control
Constructors
constructor
new
Text
Field
(
text
?:
undefined
|
string
, placeholder
?:
undefined
|
string
, textArea
?:
undefined
|
false
|
true
, resizable
?:
string
|
boolean
, prepend
?:
HTMLElement
|
JQuery
, append
?:
HTMLElement
|
JQuery
)
:
TextField
Parameters
Optional
text:
undefined
|
string
Optional
placeholder:
undefined
|
string
Optional
textArea:
undefined
|
false
|
true
Optional
resizable:
string
|
boolean
Optional
prepend:
HTMLElement
|
JQuery
Optional
append:
HTMLElement
|
JQuery
Returns
TextField
Properties
elem
elem
:
JQuery
input
input
:
JQuery
text
Area
text
Area
:
boolean
Methods
add
Class
add
Class
(
cls
:
string
)
:
this
Parameters
cls:
string
Returns
this
build
Init
build
Init
(
data
:
TextFieldDef
, fields
:
UIComponentList
)
:
void
Parameters
data:
TextFieldDef
fields:
UIComponentList
Returns
void
css
css
(
css
:
object
)
:
this
Parameters
css:
object
[
key:
string
]:
any
Returns
this
focus
focus
(
)
:
void
Returns
void
get
Elem
get
Elem
(
)
:
JQuery
Returns
JQuery
get
Placeholder
get
Placeholder
(
)
:
string
Returns
string
get
Text
get
Text
(
)
:
string
Returns
string
get
Value
get
Value
(
)
:
string
Returns
string
get
Wrapped
Control
get
Wrapped
Control
(
)
:
object
|
null
Returns
object
|
null
insert
AtCursor
insert
AtCursor
(
text
:
string
)
:
void
Parameters
text:
string
Returns
void
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
prepare
AdOn
prepare
AdOn
(
el
:
HTMLElement
|
JQuery
)
:
JQLite
Parameters
el:
HTMLElement
|
JQuery
Returns
JQLite
remove
Class
remove
Class
(
cls
:
string
)
:
this
Parameters
cls:
string
Returns
this
set
AsPassword
set
AsPassword
(
asPassword
:
boolean
)
:
this
Parameters
asPassword:
boolean
Returns
this
set
Enabled
set
Enabled
(
enabled
:
boolean
)
:
this
Parameters
enabled:
boolean
Returns
this
set
Name
set
Name
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
set
Placeholder
set
Placeholder
(
text
:
string
)
:
this
Parameters
text:
string
Returns
this
set
Resizable
set
Resizable
(
resizable
:
string
|
boolean
)
:
void
Parameters
resizable:
string
|
boolean
Returns
void
set
Text
set
Text
(
text
:
string
|
number
)
:
this
Parameters
text:
string
|
number
Returns
this
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
(
text
:
string
|
number
)
:
this
Parameters
text:
string
|
number
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
wrap
Control
wrap
Control
(
control
:
object
)
:
UIComponent
Wrap control instance in UIComponent
Parameters
control:
object
Returns
UIComponent
Modules
"
Text
Field"
Text
Field
constructor
elem
input
text
Area
add
Class
build
Init
css
focus
get
Elem
get
Placeholder
get
Text
get
Value
get
Wrapped
Control
insert
AtCursor
off
on
prepare
AdOn
remove
Class
set
AsPassword
set
Enabled
set
Name
set
Placeholder
set
Resizable
set
Text
set
Title
set
Tooltip
set
Value
set
Visible
trigger
wrap
Control
Text
Field
Def
Wrap control instance in UIComponent