jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
22 lines (17 loc) • 611 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);
};
}