@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
63 lines (62 loc) • 2.83 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Input, Component } from '@angular/core';
import { CollectionChangesService, ConfigurationService } from '../services';
import { CollectionItemComponent } from '../base-components';
import * as i0 from "@angular/core";
import * as i1 from "../services";
/**
* Represents the configuration options for a pointer in the RadialGauge.
*
* @example
* ```html
* <kendo-radialgauge>
* <kendo-radialgauge-pointers>
* <kendo-radialgauge-pointer [value]="35" color="#ff4500" shape="barIndicator">
* </kendo-radialgauge-pointer>
* </kendo-radialgauge-pointers>
* </kendo-radialgauge>
* ```
*/
export class RadialPointerComponent extends CollectionItemComponent {
/**
* Configures the pointer cap.
*/
cap;
/**
* Specifies the color of the pointer.
*/
color;
/**
* Sets the length of the pointer as a percentage of the scale radius.
*/
length;
/**
* Sets the value of the pointer.
*/
value;
constructor(configurationService, collectionChangesService) {
super(configurationService, collectionChangesService);
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RadialPointerComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RadialPointerComponent, isStandalone: true, selector: "kendo-radialgauge-pointer", inputs: { cap: "cap", color: "color", length: "length", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RadialPointerComponent, decorators: [{
type: Component,
args: [{
providers: [ConfigurationService],
selector: 'kendo-radialgauge-pointer',
template: '',
standalone: true
}]
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i1.CollectionChangesService }], propDecorators: { cap: [{
type: Input
}], color: [{
type: Input
}], length: [{
type: Input
}], value: [{
type: Input
}] } });