UNPKG

@progress/kendo-vue-gauges

Version:
56 lines (55 loc) 1.6 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * @hidden */ export interface BaseGaugePrivateProps { /** * @hidden */ deriveOptionsFromParent?: (options: any) => any; /** * @hidden */ gaugeConstructor?: object; /** * @hidden */ getTarget?: () => any; } /** * @hidden */ export interface BaseGaugeProps extends BaseGaugePrivateProps { /** * Represents the `dir` HTML attribute. */ dir?: string; value?: number; scale?: object; pointer?: object; color?: any; colors?: any[]; opacity?: any; /** * Sets the preferred rendering engine. If not supported by the browser, the Gauge switches to the first available mode. * * The supported values are: * - `"svg"`—If available, renders the component as an inline `.svg` file. * - `"canvas"`—If available, renders the component as a `canvas` element. */ renderAs?: 'svg' | 'canvas' | string; /** * If set to `true`, the Gauge plays animations when it displays the series. By default, animations are enabled. */ transitions?: boolean; /** * The event handler that is called when the component is rendered. */ onRender?: (event: any) => void; }