taffy-coustom-ui
Version:
22 lines (16 loc) • 545 B
text/typescript
import { Component, ViewChild, OnChanges, Output, EventEmitter } from '@angular/core';
import { jqxButtonComponent } from 'jqwidgets-framework/jqwidgets-ts/angular_jqxbuttons';
({
selector: 'cbutton',
templateUrl: './button.component.html'
})
export class CustomButtonComponent {
('referenceButton') button: jqxButtonComponent;
() clickEvent = new EventEmitter();
customClickEvent(): void {
this.clickEvent.emit();
};
public disabled(state: boolean): void {
this.button.disabled(state);
};
}