@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
33 lines (32 loc) • 1.1 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2024 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Specifies a modifier key.
*
* The possible values are:
* - `"none"`—No modifier key is pressed.
* - `"ctrl"`—The `Ctrl` key is pressed.
* - `"shift"`—The `Shift` key is pressed.
* - `"alt"`—The `Alt` key is pressed.
*
* @example
* ```ts
* import { Component } from '@angular/core';
* import { DragAction } from '@progress/kendo-angular-charts';
*
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-chart [zoomable]="true">
* <kendo-chart-zoomable [selection]="dragAction"></kendo-chart-zoomable>
* </kendo-chart>
* `
* })
* export class AppComponent {
* public dragAction: DragAction = { key: 'shift' };
* }
* ```
*/
export type ModifierKey = 'none' | 'ctrl' | 'shift' | 'alt';