Local Data-Source Binding

Directly bind a local array to paper-autocomplete. The component internally will filter suggestions based on the component attribute settings.

LOCAL DATA BINDING
The component internally remaps the passed array to the template binding array (which will be an array of objects with a `text` and `value` properties). The passed array can be a simple array of strings.

Public properties, `textProperty` and `valueProperty`, can be declaratively set in the element attributes, allowing to bind an arbitrary object array to the component's source property.

Remote Data-Source Binding

Mock remote users data binding. Remote data binding delegates the responsibility of filtering the data source to the calling app. Set a listener for the autocomplete.change event and pass the suggestions back to the component. The change event is fired based on the min-length attribute setting.

REMOTE USERS DATA BINDING
The filtered suggestions are expected to be mapped to an array of text/value pairs before being passed to the component.

Remote Data-Source Binding with Custom Text & Value properties

Mock remote bind to a user API. Remote data binding delegates the responsibility of filtering the data source to the calling app. Set a listener for the autocomplete.change event and pass the suggestions back to the component. The change event is fired based on the min-length attribute setting.

Custom template

This is an example using custom template. Open the file `demo/account-autocomplete.html` in this repository to see how it works internally. You can use that one as an example when you need to implement your own.

Integration with iron-form