New to Kendo UI for Angular? Start a free 30-day trial
CircularGaugeCenterTemplateDirective
A directive that selects a template
within the <kendo-circulargauge>
component which will be used for the center template
(more information and example).
ts
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `
<kendo-circulargauge [value]="value">
<ng-template kendoCircularGaugeCenterTemplate let-value="value">
{{ value }}%
</ng-template>
</kendo-circulargauge>
`
})
export class AppComponent {
public value: number = 10;
}
Selector
[kendoCircularGaugeCenterTemplate]