taffy-coustom-ui
Version:
22 lines (17 loc) • 590 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxScrollViewComponent } from 'jqwidgets-ng/jqxscrollview';
({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
('myScrollView', { static: false }) myScrollView: jqxScrollViewComponent;
onStartClicked(): void {
this.myScrollView.slideShow(true);
};
onStopClicked(): void {
this.myScrollView.slideShow(false);
};
}