shortcutter
Version:
Tiny, dependency-free library to manage keyboard shortcuts in your application.
12 lines (11 loc) • 351 B
JavaScript
export var PHASES;
(function (PHASES) {
PHASES["DOWN"] = "down";
PHASES["PRESS"] = "press";
PHASES["UP"] = "up";
PHASES["DOWN_PRESS"] = "down|press";
PHASES["DOWN_UP"] = "down|up";
PHASES["PRESS_UP"] = "press|up";
PHASES["DOWN_PRESS_UP"] = "down|press|up";
})(PHASES || (PHASES = {}));
export const PHASES_SEPARATOR = '|';