UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

22 lines (17 loc) 597 B
import { Component, ViewChild, ViewEncapsulation } from '@angular/core'; import { jqxScrollViewComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxscrollview'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'], encapsulation: ViewEncapsulation.None }) export class AppComponent { @ViewChild('myScrollView') myScrollView: jqxScrollViewComponent; onStartClicked(): void { this.myScrollView.slideShow(true); }; onStopClicked(): void { this.myScrollView.slideShow(false); }; }