triniwiz / nativescript-autocomplete

Other
18 stars 7 forks source link

Autocomplete for NativeScript

Install

npm install nativescript-autocomplete

Usage

IMPORTANT: Make sure you include xmlns:ac="nativescript-autocomplete" on the Page element

e.g

item:Array<string> = ['1','2','3','4']
itemTapped(args){
    const eventName = args.eventName;
    const data = args.data;
    const view = args.view;
    const index = args.index;
    const object = args.object;
}
<ac:Autocomplete  items="{{list}}" itemTap="itemTapped"/>

ScreenShots

Android

Android