jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
26 lines (20 loc) • 691 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxRibbonComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxribbon';
({
selector: 'app-root',
styleUrls: ['./app.component.css'],
templateUrl: './app.component.html',
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
('jqxRibbon') jqxRibbon: jqxRibbonComponent;
checkedNear(event: any): void {
this.jqxRibbon.scrollPosition('near');
}
checkedFar(event: any): void {
this.jqxRibbon.scrollPosition('far');
}
checkedBoth(event: any): void {
this.jqxRibbon.scrollPosition('both');
}
}