jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
25 lines (19 loc) • 492 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%' }
];
}