taga11y - v0.1.0
    Preparing search index...

    Interface I18nOptions

    Internationalisation option. Init-only — not accepted by settings(). Runtime locale change requires destroy() + new Taga11y().

    interface I18nOptions {
        dir?: "ltr" | "rtl";
        locale: string;
        strings?: Partial<I18nStrings>;
    }
    Index

    Properties

    Properties

    dir?: "ltr" | "rtl"

    Explicit text direction stamped on the wrapper. Omit to inherit direction from the parent cascade (the common case).

    locale: string

    BCP 47 locale tag, e.g. "pt", "ar", "pt-BR".

    strings?: Partial<I18nStrings>

    Partial override of the built-in English strings. Missing keys fall back to English; a supplied a11y.resultsCount wholly replaces the English default for that slot and must include other.