#Index
Classes
Namespaces
Events
Functions
##new Selectbox(select) Creates new selectbox component
Params
- select
HTMLSelectElement
##Selectbox.disable(HTMLNode) Disable selectbox
Params
- HTMLNode
Node
- containing select block
##Selectbox.enable(HTMLNode) Enable selectbox
Params
- HTMLNode
Node
- containing select block
##const: Selectbox.E_CREATED
Type: string
Default: selectbox:created
##const: Selectbox.E_CHANGED
Type: string
Default: selectbox:changed
##const: Selectbox.E_CHANGE_VALUE
Type: string
Default: selectbox:changevalue
#Selectbox
Copyright: Devexperts
Members
##Selectbox.disable(HTMLNode) Disable selectbox
Params
- HTMLNode
Node
- containing select block
##Selectbox.enable(HTMLNode) Enable selectbox
Params
- HTMLNode
Node
- containing select block
##const: Selectbox.E_CREATED
Type: string
Default: selectbox:created
##const: Selectbox.E_CHANGED
Type: string
Default: selectbox:changed
##const: Selectbox.E_CHANGE_VALUE
Type: string
Default: selectbox:changevalue
#event: "selectbox:created"
Triggers when electbox is created
#event: "selectbox:changed" Triggers when selectbox is changed
#event: "selectbox:changevalue" Should be fired after external select index change
Returns: String
#getValue()
Get current value
Returns: Number
| String
#getBlock()
Get HTMLNode containing selectbox
Returns: Node
#getEventTarget()
Get element which listens to events
Returns: Node