ui.combo
Hierarchy
coreui.comboRequires
jqueryFiles
Box
Config options
Defines a DOM event to be used in a UI
Defaults to: {}
Drop-down menu is varied by changing the width function
Defaults to: true
Determines an initial selection button with a specified value
Defaults to: 100
Determines an initial selection button with a specified index
Defaults to: 0
It is possible to select a node using the keyboard
Defaults to: false
It is possible to determine an initial selection button with a specified value
Defaults to: "bottom"
Defines a template markup to be used in a UI
Defaults to: {}
Determines an initial selection button with a specified value
Defaults to: 0
Determines the horizontal size of a combo box
Defaults to: 0
Methods
Check the parameter type of a UI method and generates an alarm when a wrong value is entered
Parameters
- name : String
Method name
- params : Array
Parameters
Sets a callback function that is called after a UI method is run
Parameters
- name : String
Method name
- callback : Function
Returns
- Mixed
Sets a callback function that is called before a UI method is run
Parameters
- name : String
Method name
- callback : Function
Returns
- Mixed
Sets a callback function and the delay time before/after a UI method is run
Parameters
- name : String
Method name
- callback : Function
Removes all events set in a UI obejct and the DOM element
Generates a custom event. The first parameter is the type of a custom event. A function defined as an option or on method is called
Parameters
- type : String
Event type
- args : Function
Event Arguments
Returns
- Mixed
Gets the data of the button currently selected
Returns
- Object
Gets the markup text of the button currently selected
Returns
- String
Gets the value of the button currently selected
Returns
- Mixed
Removes a custom event of an applicable type or callback handler
Parameters
- type : String
Event type
A callback function defined as an on method is run when an emit method is called
Parameters
- type : String
Event type
- callback : Function
Selects a button of a specified index
Parameters
- index : Number
Dynamically defines the options of a UI
Parameters
- key : String
- value : Mixed
Dynamically defines the template method of a UI
Parameters
- name : String
Template name
- html : String
Template markup
Selects a button having a specified value
Parameters
- value : Mixed
Events
Event which occurs when selecting a combo box
Parameters
- data : Object
changed data
- e : EventObject
The event object
Event which occurs when selecting a combo box
Parameters
- data : Object
changed data
- e : EventObject
The event object