@progress/kendo-vue-common
Version:
Kendo UI for Vue Common Utilities package
26 lines (25 loc) • 725 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
function f(n, t) {
var o;
const e = (o = n[`${t}Ref`]) == null ? void 0 : o.$el;
return e && (e.nodeType === 3 || e.nodeType === 8) ? e.nextElementSibling : e;
}
function r(n, t) {
return n[`${t}Ref`];
}
function u(n, t) {
return (e) => {
n[`${t}Ref`] = e;
};
}
export {
f as getComponentElementRef,
r as getRef,
u as setRef
};