UNPKG

jqwidgets-scripts-custom

Version:

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

27 lines (20 loc) 627 B
import { Component, ViewChild } from '@angular/core'; import { jqxTabsComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxtabs'; @Component({ selector: 'app-root', templateUrl: './app.component.html' }) export class AppComponent { @ViewChild('jqxTabs') jqxTabs: jqxTabsComponent; height: number = 25; width: number = 100; checkedRight(event: any): void { this.jqxTabs.scrollPosition('right'); }; checkedBoth(event: any): void { this.jqxTabs.scrollPosition('both'); }; checkedLeft(event: any): void { this.jqxTabs.scrollPosition('left'); }; }