apiconnect-explorer
Version:
- [Getting Started](#getting-started) - [Configuration](#configuration) * [Required](#required) * [Optional](#optional) - [Usage in React](#usage-in-react) - [Usage outside of React](#usage-outside-of-react) - [Detailed description of options](#detail
1 lines • 746 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=void 0;function a(b){"@babel/helpers - typeof";return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},a(b)}var b=function(b){if("function"!=typeof b)throw new Error("withActionHandler can only be applied to methods not: ".concat(a(b)));return function(a){if(!a||!a.type||"click"===a.type||-1!==["keydown","keypress"].indexOf(a.type)&&-1!==["Enter"," "].indexOf(a.key)){for(var c=arguments.length,d=Array(1<c?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];b.apply(void 0,[a].concat(d))}}},c=exports["default"]=b;