jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
19 lines (14 loc) • 559 B
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxRepeatButtonComponent } from 'jqwidgets-ng/jqxrepeatbutton';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
('myProgressBar', { static: false }) myProgressBar: jqxRepeatButtonComponent
repeatOnClick(): void {
let currentValue = this.myProgressBar.value();
currentValue += 1;
this.myProgressBar.setOptions({ animationDuration: 0, value: currentValue });
}
}