|
1 |
| -# SyncfusionAngularTextbox |
| 1 | +# Binding observable data to an Angular AutoComplete |
2 | 2 |
|
3 |
| -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.9. |
| 3 | +Learn how you can bind observable data to the Syncfusion Angular AutoComplete component. This example explains how to bind observables using the async pipe to subscribe to observable objects and get the latest emitted values. |
4 | 4 |
|
5 |
| -## Development server |
| 5 | +# Project prerequisites |
| 6 | +Make sure you have the compatible versions of TypeScript and Angular on your machine before starting to work on this project: |
| 7 | +* Angular 4+ |
| 8 | +* TypeScript 2.6+ |
6 | 9 |
|
7 |
| -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. |
| 10 | +## How to run this application |
| 11 | +To run this application, you need to first clone the `angular-autocomplete-async-pipe` repository and then navigate to the path where it has been copied to your system. |
8 | 12 |
|
9 |
| -## Code scaffolding |
| 13 | +To do this, open the Command Prompt and run the following commands, one after the other: |
10 | 14 |
|
11 |
| -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. |
| 15 | +``` |
| 16 | +git clone https://github.com/SyncfusionExamples/angular-autocomplete-async-pipe.git |
12 | 17 |
|
13 |
| -## Build |
| 18 | +cd angular-combobox-async-pipe |
| 19 | +``` |
14 | 20 |
|
15 |
| -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. |
| 21 | +## Installation |
| 22 | +Once done with downloading, you need to install the necessary packages required to run this application locally. To do so, run the following command: |
16 | 23 |
|
17 |
| -## Running unit tests |
| 24 | +``` |
| 25 | +npm install |
| 26 | +``` |
| 27 | +This will install all the needed Angular packages into your current project. |
18 | 28 |
|
19 |
| -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
| 29 | +## Running on a development server |
| 30 | +Run the `ng serve` command for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. |
20 | 31 |
|
21 |
| -## Running end-to-end tests |
22 |
| - |
23 |
| -Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities. |
24 |
| - |
25 |
| -## Further help |
26 |
| - |
27 |
| -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. |
| 32 | +## See Also |
| 33 | +Documentation - https://ej2.syncfusion.com/angular/documentation/auto-complete/data-binding#data-binding-using-async-pipe |
0 commit comments