Flagrate API documentation

Home ▲
class

flagrate.SearchBox

Smart UI Component for Search Things. (This is still in preview!!)

Example

var searchBox = flagrate.createSearchBox({
  suggester: function (value, done) {
    someAsyncFunction(function (resultItems) {
      done(resultItems);
    });
  },
  onSearch: function (value) {
    console.log('searching: ' + value);
  }
}).insertTo(x);

Additional Event


Constructor