Interface WzaOptions

interface WzaOptions {
    bindDom: string;
    extraElementReadingFunc?: ((element) => void | {
        text: string;
        type: string;
    });
    focusableDocumentSelector: string;
    helpHref: string;
    imgSelector: string;
    logLevel: LogLevel;
    mobileFontSizeClassPrefix: string | string[];
    mobileFontSizeLg: number;
    mobileFontSizeXl: number;
    paletteExclude: string;
    popupElementToggleMap?: IPopupElementToggleMap[];
    qrcodeSelector: string;
    ttsUrl: string;
    welcomeForEnableTool: string;
    welcomeForScreenReading: string;
}

Properties

bindDom: string

following options can be overridden from a remote server

extraElementReadingFunc?: ((element) => void | {
    text: string;
    type: string;
})

Type declaration

    • (element): void | {
          text: string;
          type: string;
      }
    • Parameters

      • element: HTMLElement

      Returns void | {
          text: string;
          type: string;
      }

focusableDocumentSelector: string
helpHref: string
imgSelector: string
logLevel: LogLevel

following options can be only set locally

mobileFontSizeClassPrefix: string | string[]
mobileFontSizeLg: number
mobileFontSizeXl: number
paletteExclude: string
popupElementToggleMap?: IPopupElementToggleMap[]
qrcodeSelector: string
ttsUrl: string
welcomeForEnableTool: string
welcomeForScreenReading: string