项目作者: angular-base

项目描述 :
Auto-complete is an auto-completion for Angular.
高级语言: TypeScript
项目地址: git://github.com/angular-base/auto-complete.git
创建时间: 2017-05-22T01:14:15Z
项目社区:https://github.com/angular-base/auto-complete

开源协议:

下载


auto-complete

This package can be included in your Angular project quickly and can be extended easily by additional features. This module allows the user to select a value in a pre-populated list while typing and supports arrow keys to traverse suggestions as well as mouse input.

Usage it in your code

  1. <input type="text" baseAutoComplete [source]="data" [(ngModel)]="variable">

Attributes

  • source: Array<Object> - Array of items from which to select. Should be an array of objects with id and name properties.