UNPKG

@progress/kendo-angular-gauges

Version:
54 lines (53 loc) 2.12 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { QueryList } from '@angular/core'; import { CollectionComponent, CollectionItemComponent } from '../base-components'; import { CollectionChangesService, ConfigurationService } from '../services'; import * as i0 from "@angular/core"; /** * Represents a collection of one or more LinearGauge pointers * ([more information]({% slug multiplepointers_lineargauge %})). * * @example * ```ts * import { Component } from '@angular/core'; * * @Component({ * selector: 'my-app', * template: ` * <kendo-lineargauge> * <kendo-lineargauge-pointers> * @for (pointer of pointers; track pointer) { * <kendo-lineargauge-pointer * [value]="pointer.value" [color]="pointer.color" shape="barIndicator"> * </kendo-lineargauge-pointer> * } * </kendo-lineargauge-pointers> * </kendo-lineargauge> * ` * }) * export class AppComponent { * public pointers: any[] = [{ * value: 10, * color: '#ff4500' * }, { * value: 12, * color: '#28b4c8' * }, { * value: 20, * color: '#8b0000' * }]; * } * ``` * * @remarks * Supported children components are: {@link LinearPointerComponent} */ export declare class LinearPointersComponent extends CollectionComponent { children: QueryList<CollectionItemComponent>; constructor(configurationService: ConfigurationService, collectionChangesService: CollectionChangesService); static ɵfac: i0.ɵɵFactoryDeclaration<LinearPointersComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LinearPointersComponent, "kendo-lineargauge-pointers", never, {}, {}, ["children"], never, true, never>; }