DocumentLocaleOptions interface

Module @runic-artifex/views in @runic-artifex/views 0.23.0

interface DocumentLocaleOptions

Where syncDocumentLocale sets the language.

Properties

element

readonly element?: Element;

The element whose lang and dir follow the text locale. Defaults to document.documentElement.

direction

readonly direction?: boolean;

Whether dir follows too (textDirection). Defaults to true.