mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 16:30:13 +01:00
24 lines
518 B
TypeScript
24 lines
518 B
TypeScript
|
|
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) {
|
||
|
|
}
|
||
|
|
}
|