Type Alias OptionalConfig

OptionalConfig: {
    _debug: boolean;
    globalValues: GlobalValues;
    preventWindowTitleChange: boolean;
    themeColor: string;
} & RequireExactlyOne<
    Readonly<
        {
            elementBookRoutePaths: Readonly<ValidBookPaths>;
            internalRouterConfig: Readonly<
                { basePath?: string; useInternalRouter: true },
            >;
        },
    >,
>

Options for ElementBookConfig that are optional.

Type declaration

  • _debug: boolean
  • globalValues: GlobalValues
  • preventWindowTitleChange: boolean
  • themeColor: string

    The base theme color from which all other element-book colors will be generated from.