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