|
1 | | -# AngularDropdownlist |
| 1 | +# Create an Angular Dropdown List Using Angular CLI |
2 | 2 |
|
3 | | -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0. |
| 3 | +A quick start Angular project that shows how to add the Syncfusion Angular Dropdown List to an Angular application. This project also includes a code snippet to populate JSON data and remote data sources, how to sort the data items and how to set a custom height and width for the Dropdown List pop-up. |
4 | 4 |
|
5 | | -## Development server |
| 5 | +Examples: https://ej2.syncfusion.com/angular/demos/#/material/drop-down-list/default |
6 | 6 |
|
7 | | -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. |
| 7 | +Documentation: https://ej2.syncfusion.com/angular/documentation/drop-down-list/getting-started/ |
8 | 8 |
|
9 | | -## Code scaffolding |
| 9 | +# Project pre-requisites |
10 | 10 |
|
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`. |
| 11 | +Make sure that you have the compatible versions of TypeScript and Angular in your machine before starting to work on this project. |
12 | 12 |
|
13 | | -## Build |
| 13 | +Angular 4+ |
| 14 | +TypeScript 2.6+ |
14 | 15 |
|
15 | | -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. |
| 16 | +# How to run this application? |
16 | 17 |
|
17 | | -## Running unit tests |
| 18 | +To run this application, you need to first clone the create-an-angular-dropdown-list-using-angular-cli repository and then navigate to its appropriate path where it has been in your system. |
18 | 19 |
|
19 | | -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
| 20 | +To do so, open the command prompt and run the below commands one after the other. |
20 | 21 |
|
21 | | -## Running end-to-end tests |
| 22 | +git clone https://github.com/SyncfusionExamples/create-an-angular-dropdown-list-using-angular-cli dropdownlist-example |
22 | 23 |
|
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 | +cd dropdownlist-example |
24 | 25 |
|
25 | | -## Further help |
| 26 | +# Installing |
26 | 27 |
|
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. |
| 28 | +Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install command will install all the needed angular packages into your current project and to do so, run the below command. |
| 29 | + |
| 30 | +npm install |
| 31 | + |
| 32 | +# Running on development server |
| 33 | + |
| 34 | +Run 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. |
0 commit comments