nativescript-autocomplete
An editable text view that shows completion suggestions automatically while the user is typing.
npm i --save nativescript-autocomplete
- Version: 1.0.0
- GitHub: https://github.com/triniwiz/nativescript-autocomplete
- NPM: https://www.npmjs.com/package/nativescript-autocomplete
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
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 |
---|