angular2-boiler-plate
Version:
Angular 2 Boiler plate that integrated with WebPack, TypeScript, DatePicker, RxJs for Reactive Extensions in Java Script , Karma , Jasmine for unit testing , WebKit ,protractor e2e testing
22 lines (18 loc) • 560 B
text/typescript
import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core';
({
selector: 'sui-panel',
templateUrl: './sui.panel.component.html',
})
export class PanelComponent {
() headerText: string;
() headerClass: string;
() headerStyle: Object = {};
() headerIcon: string;
() panelClass: string;
() panelStyle: Object = {};
() closable = true;
isClosed: boolean = false;
onClose(event: any) {
this.isClosed = true;
}
}