useRtl API
API reference for the useRtl composable.
Functions
createRtlFallback
() => RtlContextcreateRtlContext
<_E>(_options?: RtlContextOptions | undefined) => ContextTrinity<_E>createRtlPlugin
(_options?: RtlContextOptions | undefined) => PluginuseRtl
<_E>(namespace?: string) => _EOptions
target
string | HTMLElement | null | undefinedTarget element or selector for dir attribute. Defaults to documentElement.