UNPKG

@coreui/vue

Version:

UI Components Library for Vue.js

17 lines (13 loc) 382 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const isRTL = (element) => { if (typeof document !== 'undefined' && document.documentElement.dir === 'rtl') { return true; } if (element) { return element.closest('[dir="rtl"]') !== null; } return false; }; exports.default = isRTL; //# sourceMappingURL=isRTL.js.map