wijmo.knockout.input Class wjAutoComplete Wijmo API Class

wjAutoComplete Class

KnockoutJS binding for the AutoComplete control.

Use the wjAutoComplete binding to add AutoComplete controls to your KnockoutJS applications. For example:

<p>Here is an AutoComplete control:</p>
<div data-bind="wjAutoComplete: {
  itemsSource: countries,
  text: theCountry,
  isEditable: false,
  placeholder: 'country' }">

The wjAutoComplete binding supports all read-write properties and events of the AutoComplete control. The following properties provide two-way binding mode:

  • isDroppedDown
  • text
  • selectedIndex
  • selectedItem
  • selectedValue