Class type Goog.​Ui.​comboBox

class type comboBox = object..end

Inherits


method addItem : 'a. (#control as 'a) Js.t -> unit Js.meth

Adds a new menu item at the end of the menu.

method addItemAt : 'b. (#control as 'b) Js.t -> int -> unit Js.meth

Adds a new menu item at a specific index in the menu.

method setDefaultText : Js.js_string Js.t -> unit Js.meth

Sets the default text for the combo box.

method getDefaultText : Js.js_string Js.t Js.meth

Returns text The default text for the combox box.

method enterDocument : unit Js.meth
method exitDocument : unit Js.meth
method canDecorate : 
'c. (#Dom_html.element as 'c) Js.t -> bool Js.t Js.meth

Combo box currently can't decorate elements. Returns The value false.

method disposeInternal : unit Js.meth
method dissmiss : unit Js.meth
method removeItem : 'd. (#menuItem as 'd) Js.t -> unit Js.meth

Removes an item from the menu and disposes it.

method removeAllItems : unit Js.meth
method removeItemAt : int -> unit Js.meth

Removes a menu item at a given index in the menu.

method getItemAt : int -> menuItem Js.t Js.meth

Returns a reference to the menu item at a given index. Returns Reference to the menu item.

method getFieldName : Js.js_string Js.t Js.meth

Sets the field name for the combo box.

method setUseDropdownArrow : bool Js.t -> unit Js.meth

Set to true if a unicode inverted triangle should be displayed in the dropdown button. This option defaults to false for backwards compatibility.

method setValue : Js.js_string Js.t -> unit Js.meth

Sets the current value of the combo box.

method getValue : Js.js_string Js.t Js.meth

Returns The current value of the combo box.