Combobox

Combobox

new Combobox(e)

Description:
  • Combobox UI element class. Use data-comboboxname HTML tag to set element name.
Source:
Parameters:
Name Type Description
e

Methods

doAddItem(title, caption)

Description:
  • Add item to the combobox list.
Source:
Parameters:
Name Type Description
title
caption

doClear()

Description:
  • Clear the combobox list.
Source:

doSetComboboxTitle(title, caption)

Description:
  • Sets combobox default title.
Source:
Parameters:
Name Type Description
title
caption

getState() → {number|*}

Description:
  • Get current combobox element.
Source:
Returns:
Type
number | *

setState(state)

Description:
  • Choose specified combobox element.
Source:
Parameters:
Name Type Description
state