Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
477 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | declare type ModifierKey = 'altKey' | 'shiftKey' | 'ctrlKey' | 'metaKey';
|
---|
| 9 | /**
|
---|
| 10 | * Checks whether a modifier key is pressed.
|
---|
| 11 | * @param event Event to be checked.
|
---|
| 12 | */
|
---|
| 13 | export declare function hasModifierKey(event: KeyboardEvent, ...modifiers: ModifierKey[]): boolean;
|
---|
| 14 | export {};
|
---|
Note:
See
TracBrowser
for help on using the repository browser.