jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
21 lines (16 loc) • 645 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxPanelComponent } from 'jqwidgets-ng/jqxpanel';
({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
('Events', { static: false }) Events: jqxPanelComponent;
change(event: any): void {
const eventType = event.type;
const eventValue = event.args.value;
this.Events.prepend('<div style="margin-top: 5px;">type: ' + eventType + '; value: ' + eventValue + '</div>');
};
}