element-book - v26.16.0
    Preparing search index...

    Type Alias BookPageControl<ControlType>

    BookPageControl: { controlName: string; controlType: ControlType } & (
        ControlType extends Custom
            ? { content: HtmlInterpolation; initValue?: never }
            : { content?: never; initValue: BookPageControlValueType[ControlType] }
    ) & (
        ControlType extends Dropdown
            ? { options: string[] }
            : { options?: never }
    )

    Adds a control to an element-book page.

    Type Parameters

    Type Declaration

    • controlName: string

      The name and label for the control.

    • controlType: ControlType