jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
22 lines (16 loc) • 566 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);
};
}