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.
To install this library, run:
$ npm install ej-angular2 --save
We can import the library in any Angular application by running:
$ npm install ej-angular2
and then from your Angular AppModule
:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import the library module
import { EJAngular2Module } from 'ej-angular2';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
LibraryModule, EJAngular2Module.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
To generate all *.js
, *.js.map
and *.d.ts
files:
$ npm run tsc
To lint all *.ts
files:
$ npm run lint
For complete documentation for getting started with Angular 2 Syncfusion Components, please visit https://help.syncfusion.com/angular-2/
Find live demos for the Angular 2 Syncfusion Components here.
In case of any questions regarding the use of Syncfusion JavaScript Angular 2 components, please contact us by creating a support ticket.
For licensing information about Syncfusion JavaScript Angular 2 components, Download the Syncfusion License Agreements from here.