pm-controls
Version:
ProModel Controls
28 lines (24 loc) • 598 B
text/typescript
import { Component, Input, Output, EventEmitter } from '@angular/core';
({
selector: 'pm-bar',
//templateUrl: './app/controls/components/bar/bar.html',
templateUrl: './bar.html',
// styles: [`
// :host {
// z-index: 5;
// }
// `],
})
export class BarComponent {
() Name = '';
() Items;
title: string;
() onExportToExcel = new EventEmitter();
() onTogglePanel = new EventEmitter();
exportToExcel() {
this.onExportToExcel.emit({});
}
togglePanel() {
this.onTogglePanel.emit({});
}
}