zr-angular
v1.7.0
Published
The angular4 component based on the'zr'project.
Downloads
7
Maintainers
Readme
zr angular
About
The angular4 component based on the'zr'project.
Installation
Install through npm:
npm install --save zr-angular
Then include in your apps module:
import { NgModule } from '@angular/core';
import { ZrAngularModule } from 'zr-angular';
@NgModule({
imports: [
ZrAngularModule.forRoot()
]
})
export class MyModule {}
Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: '<app-datatable-footer [datatable]="datatable"></app-datatable-footer>'
})
export class MyComponent {}
Usage without a module bundler
<script src="node_modules/zr-angular/bundles/zr-angular.umd.js"></script>
<script>
// everything is exported zrAngular namespace
</script>