package.dist.locale.getEffectiveDir.js Maven / Gradle / Ivy
const getEffectiveDir = (element) => {
if (element.matches(":dir(rtl)")) {
return "rtl";
}
return "ltr";
};
export default getEffectiveDir;
//# sourceMappingURL=getEffectiveDir.js.map