5.20231.904
Wijmo API Module wijmo.angular2.gauge Wijmo API Module

wijmo.angular2.gauge Module

Contains Angular 2 components for the wijmo.gauge module.

wijmo.angular2.gauge is an external TypeScript module that can be imported to your code using its ambient module name. For example:

import * as wjGauge from 'wijmo/wijmo.angular2.gauge';
 
@Component({
    directives: [wjGauge.WjLinearGauge],
    template: '<wj-linear-gauge [(value)]="amount" [isReadOnly]="false"></wj-linear-gauge>',
    selector: 'my-cmp',
})
export class MyCmp {
    amount = 0;
}