new H_ui_inputs_order_manager(base_name)
ui.js, line 4457
| Name | Type | Description |
|---|---|---|
base_name |
string | The base name for the group. |
Methods
-
add_field(base_id, editable, callback)
ui.js, line 4483 -
Adds a new input order field to the manager.
Name Type Description base_idstring Base id for the input. editableboolean Whether the input is editable. callbackfunction Callback on value change. -
clean_list()
ui.js, line 4547 -
check if there is element in list that don't exist anymore and reordonne remaining element to remove empty number
-
get_input(value, caller){H_ui_input_order|false}
ui.js, line 4517 -
Gets an input order instance by value.
Name Type Description valuenumber The value to search for. callerH_ui_input_order Caller is the input order object that call get_input Returns:
Type Description H_ui_input_order | false The found input order or false. -
get_input_hover(dom_element)
ui.js, line 4533 -
Gets the input order instance currently hovered during drag.
Name Type Description dom_elementHTMLElement The DOM element being hovered.