@progress/kendo-vue-common
Version:
Kendo UI for Vue Common Utilities package
9 lines (8 loc) • 930 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(s){const t=Object.keys(this.$attrs).map(e=>e.toLowerCase()).some(e=>e.endsWith(s.toLowerCase())),n=Object.entries(this.$props).some(([e,o])=>{const r=e.toLowerCase();return o!==void 0&&r.startsWith("on")&&r.endsWith(s.toLowerCase())});return t||n}function a(){const s={};for(const t in this.$attrs)t.startsWith("on")&&(s[t]=this.$attrs[t]);for(const t in this.$props)t.startsWith("on")&&(s[t]=this.$props[t]);return s}exports.getListeners=a;exports.hasListener=i;