constructor
flagrate.createSearchBox
flagrate.createSearchBox(option) → flagrate.SearchBox
new flagrate.SearchBox
option
(Object
) – options.
text input for search.
option
id
(String):id
attribute of container element.className
(String):attribute
(Object):style
(Object): (using flagrate.Element.setStyle)value
(String): default value.placeholder
(String):icon
(String):isDisabled
(Boolean; defaultfalse
):suggester
(Function):onSearch
(Function): callback with input value.