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
18 lines (15 loc) • 549 B
text/typescript
import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core';
import { ButtonModel } from '../sui.util/sui.util.button.model';
({
selector: 'sui-button-group',
templateUrl: './sui.button.group.component.html',
})
export class ButtonGroupComponent {
() buttons: ButtonModel[];
() style: Object = {};
() cssClass: string = '';
() onClick: EventEmitter<any> = new EventEmitter<any>();
onBtnClick(event: any) {
this.onClick.emit(event);
}
}