UNPKG

jqwidgets-framework

Version:

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

27 lines (20 loc) 644 B
import { Component, ViewChild } from '@angular/core'; import { jqxTabsComponent } from '../../../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'); }; }