jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
21 lines (16 loc) • 400 B
text/typescript
import { Component } from '@angular/core';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
formatFunction(value: number): string {
return jqx.dataFormat.formatNumber(value, 'f1') + " mm";
}
getWidth() : any {
if (document.body.offsetWidth < 700) {
return '90%';
}
return 700;
}
}