MAIDR JavaScript API
    Preparing search index...

    Interface DotPadVendorTranslation

    The vendor SDK's braille-translation surface.

    Optional, and checked at runtime rather than required: a host page may supply an older SDK build without it, and the braille line has to keep working when it does. MAIDR falls back to its own uncontracted table in that case.

    interface DotPadVendorTranslation {
        BrailleLanguage?: Readonly<Record<string, unknown>>;
        GradeOption?: Readonly<{ Grade1: number; Grade2: number; Grade3: number }>;
        LiblouisManager?: { setAssetBaseUrl: (url: string) => void };
    }

    Hierarchy (View Summary)

    Index

    Properties

    BrailleLanguage?: Readonly<Record<string, unknown>>

    Language table entries, keyed by display name -- English, 한국어, and the rest. Passed straight back to setBrailleLanguage; MAIDR never looks inside one.

    GradeOption?: Readonly<{ Grade1: number; Grade2: number; Grade3: number }>

    Contraction grades, positional per language.

    LiblouisManager?: { setAssetBaseUrl: (url: string) => void }

    Points the SDK's liblouis build at the directory serving its .js, .wasm and .data files.