Member Junction
    Preparing search index...

    Something the user did inside a rendered component, reported by the host to the channel.

    interface ComponentActivity {
        Kind: "state" | "closed" | "event" | "initialized" | "selected";
        Name?: string;
        Payload?: unknown;
    }
    Index

    Properties

    Properties

    Kind: "state" | "closed" | "event" | "initialized" | "selected"

    'event' for a component event (the spec's events), 'state' for a state change, 'initialized' when it finished loading, 'selected' when the user switched to this component's tab, 'closed' when the user closed it.

    Name?: string

    The event type or state path.

    Payload?: unknown

    The event payload or new state value (already untyped JSON-ish; the channel bounds it).