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