jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
19 lines (16 loc) • 419 B
text/typescript
import { Component } from '@angular/core';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
tooltip: any =
{
visible: true,
formatFunction: (value: string) => {
let realVal = parseInt(value);
return ('Year: 2016<br/>Price Index:' + realVal);
}
}
values: number[] = [102, 115, 130, 137];
}