New to Kendo UI for Angular? Start a free 30-day trial
ModifierKey
Specifies a modifier key.
The possible values are:
"none"
—No modifier key is pressed."ctrl"
—TheCtrl
key is pressed."shift"
—TheShift
key is pressed."alt"
—TheAlt
key is pressed.
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' };
}
type
ModifierKey = "none" | "ctrl" | "shift" | "alt";