Direction

This composable provides an easy way to handle debounced events.

LTR

import { TText } from "@dija/tohama-components";
import { useDirection } from "@dija/tohama-use";
import { defineComponent } from "vue";

const Example = defineComponent({
  setup() {
    const { isRtl } = useDirection();

    return () => <TText>{isRtl.value ? "RTL" : "LTR"}</TText>;
  },
});