jqwidgets-framework
Version:
jQWidgets is an advanced jQuery, Angular, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
26 lines (20 loc) • 707 B
text/typescript
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { jqxRibbonComponent } from '../../../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');
}
}