UNPKG

@progress/kendo-angular-gauges

Version:
39 lines (38 loc) 1.57 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * A directive that selects a [template](link:site.data.urls.angular['templatesyntax']) * within the `<kendo-circulargauge>` component which will be used for the center template * ([more information and example]({% slug centertemplate_circulargauge %})). * * @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; * } * * ``` */ export declare class CircularGaugeCenterTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<CircularGaugeCenterTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<CircularGaugeCenterTemplateDirective, "[kendoCircularGaugeCenterTemplate]", never, {}, {}, never, never, true, never>; }