EnvironmentOptions: {
    backendContext: GeneralBackendContext | null;
    defaultComponentSpace: ComponentSpace | null;
    devTools: DevTools | null;
    throwGlobalError: boolean;
    writeExtraInfoToAttr: boolean;
}

Options for global environment

Type declaration

  • backendContext: GeneralBackendContext | null

    The default backend context

  • defaultComponentSpace: ComponentSpace | null

    The default component space

  • devTools: DevTools | null

    The devtool interface

  • throwGlobalError: boolean

    Throw errors when errors caught in event callbacks (useful in testing scripts)

  • writeExtraInfoToAttr: boolean

    Write some extra attributes to DOM backend (for testing)