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
"UIButton"
UIButton
Class UIButton
Hierarchy
UIComponent
UIButton
Implements
UIBuildable
<
UIButtonDef
>
Index
Constructors
constructor
Properties
SIZE_
LARGE
SIZE_
NORMAL
SIZE_
SMALL
SIZE_
TINY
STYLE_
DANGER
STYLE_
DEFAULT
STYLE_
INFO
STYLE_
LINK
STYLE_
PRIMARY
STYLE_
SUCCESS
STYLE_
WARNING
TYPE_
BUTTON
TYPE_
SUBMIT
Methods
add
Class
build
Init
css
get
Elem
get
Text
get
Wrapped
Control
off
on
remove
Class
set
Button
Size
set
Button
Style
set
Enabled
set
Icon
set
Loading
set
Text
set
Title
set
Tooltip
set
Type
set
Visible
trigger
wrap
Control
Constructors
constructor
new UIButton
(
text
:
string
, style
?:
string
|
null
, icon
?:
string
|
null
, type
?:
string
|
null
)
:
UIButton
Parameters
text:
string
Optional
style:
string
|
null
Optional
icon:
string
|
null
Optional
type:
string
|
null
Returns
UIButton
Properties
Static
SIZE_
LARGE
SIZE_
LARGE
:
string
Static
SIZE_
NORMAL
SIZE_
NORMAL
:
string
Static
SIZE_
SMALL
SIZE_
SMALL
:
string
Static
SIZE_
TINY
SIZE_
TINY
:
string
Static
STYLE_
DANGER
STYLE_
DANGER
:
string
Static
STYLE_
DEFAULT
STYLE_
DEFAULT
:
string
Static
STYLE_
INFO
STYLE_
INFO
:
string
Static
STYLE_
LINK
STYLE_
LINK
:
string
Static
STYLE_
PRIMARY
STYLE_
PRIMARY
:
string
Static
STYLE_
SUCCESS
STYLE_
SUCCESS
:
string
Static
STYLE_
WARNING
STYLE_
WARNING
:
string
Static
TYPE_
BUTTON
TYPE_
BUTTON
:
string
Static
TYPE_
SUBMIT
TYPE_
SUBMIT
:
string
Methods
add
Class
add
Class
(
cls
:
string
)
:
this
Parameters
cls:
string
Returns
this
build
Init
build
Init
(
data
:
UIButtonDef
, fields
:
UIComponentList
)
:
void
Parameters
data:
UIButtonDef
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
Text
get
Text
(
)
:
string
Returns
string
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
remove
Class
remove
Class
(
cls
:
string
)
:
this
Parameters
cls:
string
Returns
this
set
Button
Size
set
Button
Size
(
size
:
string
)
:
this
Parameters
size:
string
Returns
this
set
Button
Style
set
Button
Style
(
style
:
string
)
:
this
Parameters
style:
string
Returns
this
set
Enabled
set
Enabled
(
enabled
:
boolean
)
:
void
Parameters
enabled:
boolean
Returns
void
set
Icon
set
Icon
(
icon
:
string
|
null
)
:
void
Parameters
icon:
string
|
null
Returns
void
set
Loading
set
Loading
(
enabled
:
boolean
)
:
void
Parameters
enabled:
boolean
Returns
void
set
Text
set
Text
(
text
:
string
)
:
this
Parameters
text:
string
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
Type
set
Type
(
type
:
string
)
:
void
Parameters
type:
string
Returns
void
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
"UIButton"
UIButton
constructor
SIZE_
LARGE
SIZE_
NORMAL
SIZE_
SMALL
SIZE_
TINY
STYLE_
DANGER
STYLE_
DEFAULT
STYLE_
INFO
STYLE_
LINK
STYLE_
PRIMARY
STYLE_
SUCCESS
STYLE_
WARNING
TYPE_
BUTTON
TYPE_
SUBMIT
add
Class
build
Init
css
get
Elem
get
Text
get
Wrapped
Control
off
on
remove
Class
set
Button
Size
set
Button
Style
set
Enabled
set
Icon
set
Loading
set
Text
set
Title
set
Tooltip
set
Type
set
Visible
trigger
wrap
Control
UIButton
Def
UIButton
Menu
Def
Wrap control instance in UIComponent