UNPKG

jqwidgets-framework

Version:

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

21 lines (17 loc) 744 B
import { Component, ViewChild, ViewEncapsulation, AfterViewInit } from '@angular/core'; import { jqxRibbonComponent } from '../../../jqwidgets-ts/angular_jqxribbon'; @Component({ selector: 'app-root', styleUrls: ['./app.component.css'], templateUrl: './app.component.html', encapsulation: ViewEncapsulation.None }) export class AppComponent implements AfterViewInit { @ViewChild('jqxRibbon') jqxRibbon: jqxRibbonComponent; ngAfterViewInit() { this.jqxRibbon.setPopupLayout(0, "near", 130, 205); this.jqxRibbon.setPopupLayout(1, "center", 130, 200); this.jqxRibbon.setPopupLayout(2, "center", 130, 260); this.jqxRibbon.setPopupLayout(3, "far", 130, 350); } }