The search
method reveals a dedicated search bar. The
info
property acts as placeholder and the onsearch
method gets
called whenever the user presses ENTER
.
If defined, the onidle
method gets called whenever the user pauses typing.
The onidle
method will also be called when the field loses focus. The
idletime
property controls the timeout value, default is
500
(milliseconds). You can also add one or more buttons to the Search.
The buttons have a search
property that references the Search model. This
will come in handy when you configure the Search via a single JSON payload.
If you are using
tabs, remember that the Search
is conceptually scoped to the current tab. You would most often want to clear the entire
Search whenever the user switches tab. This event can be tracked with the tabs
onselect
callback.
Here' an overview of the Search model.
If you find a bug or need a feature…