@progress/kendo-vue-common
Version:
Kendo UI for Vue Common Utilities package
24 lines (23 loc) • 685 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
*-------------------------------------------------------------------------------------------
*/
import { canUseDOM as n } from "./canUseDOM.mjs";
function i(t) {
return !!(n && t && getComputedStyle(t).direction === "rtl");
}
function d(t, o) {
if (!o && n && t) {
const r = window.getComputedStyle(t).direction;
if (r)
return r;
}
return o;
}
export {
d as getDir,
i as isRtl
};