jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
25 lines (19 loc) • 516 B
text/typescript
import { Component, ViewEncapsulation } from '@angular/core';
export class AppComponent {
getWidth() : any {
if (document.body.offsetWidth < 850) {
return '90%';
}
return 850;
}
panels: any[] = [
{ size: '50%', min: '10%', collapsible: false },
{ size: '50%', min: '5%' }
];
}