Type Alias BookElementExample<GlobalValuesType, ControlsInit, StateInit>

BookElementExample: Overwrite<
    BaseBookEntry,
    { entryType: ElementExample; parent: BookPage
    | undefined } & {
        render: (
            renderParams: BookPageExampleRenderParams<
                GlobalValuesType,
                ControlsInit,
                StateInit,
            >,
        ) => HtmlInterpolation;
        showEvents?: ReadonlyArray<string | TypedEvent>;
        stateInitStatic?: StateInit;
        styles?: CSSResult;
    },
>

An individual element example for an element-book page.

Type Parameters