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

    Type Alias StatefulReifectProperties<State, ClassType>

    StatefulReifectProperties: StatefulReifectCoreProperties<State, ClassType> & {
        states?: State[] | object;
        initialState?: State | boolean;
        attachedObjects?: ClassType[];
    }

    Type Parameters

    • State extends KeyType

      The set of states the reifect can switch between.

    • ClassType extends object = Element

      The type of the attached object.

    Options for constructing a StatefulReifect: everything it applies per state, plus the states themselves and the objects to attach at creation.