gradum-kit - v0.1.0
    Preparing search index...

    Type Alias GradumViewProperties<ElementType, ModelType, EmitterType>

    Properties used to construct a GradumView.

    type GradumViewProperties<
        ElementType extends object = object,
        ModelType extends GradumModel = GradumModel,
        EmitterType extends GradumEmitter = GradumEmitter,
    > = {
        element: ElementType;
        model?: ModelType;
        emitter?: EmitterType;
    }

    Type Parameters

    Index
    element: ElementType

    The element this view renders into.

    model?: ModelType

    The model the view reads from. Omit for a view with no state of its own.

    emitter?: EmitterType

    The emitter shared with the element and its operators.