@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
15 lines (12 loc) • 430 B
JavaScript
/*!
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
* v1.5.0-next.4
*/
;
function isActivationKey(key) {
return key === "Enter" || key === " ";
}
const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
exports.isActivationKey = isActivationKey;
exports.numberKeys = numberKeys;