You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
631 B
32 lines
631 B
// node_modules/@angular/cdk/fesm2022/keycodes.mjs
|
|
var SHIFT = 16;
|
|
var CONTROL = 17;
|
|
var ALT = 18;
|
|
var ESCAPE = 27;
|
|
var LEFT_ARROW = 37;
|
|
var UP_ARROW = 38;
|
|
var RIGHT_ARROW = 39;
|
|
var DOWN_ARROW = 40;
|
|
var META = 91;
|
|
var MAC_META = 224;
|
|
function hasModifierKey(event, ...modifiers) {
|
|
if (modifiers.length) {
|
|
return modifiers.some((modifier) => event[modifier]);
|
|
}
|
|
return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;
|
|
}
|
|
|
|
export {
|
|
SHIFT,
|
|
CONTROL,
|
|
ALT,
|
|
ESCAPE,
|
|
LEFT_ARROW,
|
|
UP_ARROW,
|
|
RIGHT_ARROW,
|
|
DOWN_ARROW,
|
|
META,
|
|
MAC_META,
|
|
hasModifierKey
|
|
};
|
|
//# sourceMappingURL=chunk-UMSNQQWJ.js.map
|
|
|