1 | ## Angular 2 Syncfusion JavaScipt Components
|
2 |
|
3 | Essential JavaScript provides support for Angular 2 Framework through wrappers. Each Syncfusion widgets are created as Angular 2 components with built in support for data binding and child directives to make complex property definition easier.
|
4 |
|
5 | ## Installation
|
6 |
|
7 | To install this library, run:
|
8 |
|
9 | ```bash
|
10 | $ npm install ej-angular2 --save
|
11 | ```
|
12 |
|
13 | ## Consuming the library
|
14 |
|
15 | We can import the library in any Angular application by running:
|
16 |
|
17 | ```bash
|
18 | $ npm install ej-angular2
|
19 | ```
|
20 |
|
21 | and then from your Angular `AppModule`:
|
22 |
|
23 | ```typescript
|
24 | import { BrowserModule } from '@angular/platform-browser';
|
25 | import { NgModule } from '@angular/core';
|
26 |
|
27 | import { AppComponent } from './app.component';
|
28 |
|
29 | // Import the library module
|
30 | import { EJAngular2Module } from 'ej-angular2';
|
31 |
|
32 | @NgModule({
|
33 | declarations: [
|
34 | AppComponent
|
35 | ],
|
36 | imports: [
|
37 | BrowserModule,
|
38 | LibraryModule, EJAngular2Module.forRoot()
|
39 | ],
|
40 | providers: [],
|
41 | bootstrap: [AppComponent]
|
42 | })
|
43 | export class AppModule { }
|
44 | ```
|
45 |
|
46 | ## Development
|
47 |
|
48 | To generate all `*.js`, `*.js.map` and `*.d.ts` files:
|
49 |
|
50 | ```bash
|
51 | $ npm run tsc
|
52 | ```
|
53 |
|
54 | To lint all `*.ts` files:
|
55 |
|
56 | ```bash
|
57 | $ npm run lint
|
58 | ```
|
59 |
|
60 | ## Documentation
|
61 |
|
62 | For complete documentation for getting started with Angular 2 Syncfusion Components, please visit
|
63 | [https://help.syncfusion.com/angular-2/](https://help.syncfusion.com/angular-2/)
|
64 |
|
65 | ## Demos
|
66 |
|
67 | Find live demos for the Angular 2 Syncfusion Components [here.](http://ng2jq.syncfusion.com/)
|
68 |
|
69 | ## Support
|
70 |
|
71 | In case of any questions regarding the use of Syncfusion JavaScript Angular 2 components, please [contact us](http://www.syncfusion.com/support/#) by creating a support ticket.
|
72 |
|
73 | ## License Information
|
74 |
|
75 | For licensing information about Syncfusion JavaScript Angular 2 components, Download the Syncfusion License Agreements from [here](https://www.syncfusion.com/content/downloads/syncfusion_license.pdf). |
\ | No newline at end of file |