taffy-coustom-ui
Version:
19 lines (14 loc) • 541 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 });
}
}