@shikshalokam/sl-reports
Version:
Library to integrate questionnaire in SL Projects
25 lines (18 loc) • 461 B
text/typescript
import { Component, Input, OnInit } from '@angular/core';
({
selector: 'sl-generic-chart',
templateUrl: './generic-chart.component.html',
styleUrls: ['./generic-chart.component.css']
})
export class GenericChartComponent implements OnInit {
() reportSections:any;
constructor() { }
ngOnInit(): void {
}
extension(name) {
return name.split(".").pop();
}
openFile(file) {
window.open(file.url, "_blank");
}
}