jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
17 lines (13 loc) • 529 B
text/typescript
import { Component, ViewChild, AfterViewInit } from '@angular/core';
import { jqxMenuComponent } from 'jqwidgets-ng/jqxmenu';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements AfterViewInit {
('myMenu', { static: false }) myMenu: jqxMenuComponent
ngAfterViewInit(): void {
this.myMenu.setItemOpenDirection('Services', 'left', 'up');
this.myMenu.setItemOpenDirection('ContactUs', 'left', 'down');
}
}