@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
9 lines (8 loc) • 714 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"});const t=e=>{const n=e.shadowRoot,c=e.contentDocument;return n&&n.activeElement?t(n.activeElement):c&&c.activeElement?t(c.activeElement):e},i=e=>{if(!(!e||!e.activeElement))return t(e.activeElement)};exports.getActiveElement=i;exports.getInnerActiveElement=t;