1.0.4 • Published 5 years ago
@xrely/angular v1.0.4
Xrely Autocomplete
This client is to integrated xrely autocomplete to your Angular web project. Comming soon :)
Installation
Run npm install @xrely/angular-autocomplete
to install package.
Integration
Add following code into app.component.html to start with
<div class="x-autocomplete">
<x-auto-autocomplete #xAutoComplete
(selected)='selectEvent($event)'
[itemTemplate]="itemTemplate"
[notFoundTemplate]="notFoundTemplate"
[config]="{'seachAPIKey':'####SeachAPIKey###'}">
</x-auto-autocomplete>
<ng-template #itemTemplate let-item>
<a href="{{item.url}}" >
{{item.keyword}}
</a>
</ng-template>
</div>
Customization
Comming soon...