SearchBox
The component contains a search box (input).
The component contains a search box (input).
Configuration:
exec {String}a link to thefunction(model, component, changetype), it will be executed if the user presses enterautocomplete {String}a link to thefunction(component, input), it will be executed if the user focuses the search boxinit {String}a link to thefunction(component), it will be executed if the component is initializedplaceholder {String}a placeholder for the search boxcleartype {Boolean}clears type when the user will performESC(default:false)keypress {Boolean}key-press binding (default:false)autotrim {Boolean}trims the value automatically (default:true)clicktype {String}a link to thefunction(component, currenttype, currentvalue), it will be executed if the user clicks on thetype(a newtypemust be set viacomponent.type(html, value))
Methods:
component.type(html, id, [noemit])adds a new type before the search inputcomponent.enter()performs searching manually- NEW:
component.show()focuses the input




