UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

35 lines (29 loc) 638 B
import { Component, ViewChild, ElementRef, ViewEncapsulation } from '@angular/core'; import { jqxSplitLayoutComponent } from 'jqwidgets-ng/jqxsplitlayout'; @Component({ selector: 'app-root', templateUrl: './app.component.html', encapsulation: ViewEncapsulation.None }) export class AppComponent { @ViewChild('myLayout', { static: false }) myLayout: jqxSplitLayoutComponent; dataSource = [ { content: "Item 1" }, { content: "Item 2" }, { orientation: "horizontal", items: [ { content: "Item 3" }, { content: "Item 4" } ] } ] }