angular2-simple-ui
Version:
Angular 2 Simple Material Design UI Components customisable with Simple 30 KB CSS with LESS support and full features support , just plugin up and run for clarity look at sample examples
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;
}
}