jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
18 lines (13 loc) • 466 B
text/typescript
import { Component, ViewChild, ElementRef } from '@angular/core';
import { jqxRatingComponent } from 'jqwidgets-ng/jqxrating';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
('rate', { static: false }) rate: ElementRef;
change(event: any): void {
let rate = this.rate.nativeElement;
rate.innerHTML = '<span> ' + event.value + '</span>';
}
}