mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 08:50:13 +01:00
chartist component basics
This commit is contained in:
parent
08a456921a
commit
8b0015679b
8 changed files with 134 additions and 1 deletions
|
|
@ -0,0 +1,23 @@
|
|||
import {Component, ViewEncapsulation} from 'angular2/core';
|
||||
import {BaCard} from '../../../../theme';
|
||||
|
||||
import {ChartistJsService} from "./chartistJs.service";
|
||||
|
||||
require('chartist');
|
||||
|
||||
@Component({
|
||||
selector: 'chartist-js',
|
||||
pipes: [],
|
||||
providers: [ChartistJsService],
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./chartistJs.scss')],
|
||||
directives: [BaCard],
|
||||
template: require('./chartistJs.html'),
|
||||
})
|
||||
export class ChartistJs {
|
||||
|
||||
|
||||
|
||||
constructor(private _chartistJsService:ChartistJsService) {
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue