Member Junction
    Preparing search index...

    The Media channel's STATE ENGINE — a pure, framework-free model of what's on the shared Media surface: an ordered list of MediaItems plus which one is active. Mutations push the new state through Changed$ so the channel persists it and the surface re-renders. Mirrors WhiteboardState (no Angular, tolerant (de)serialization, single Changed$ notifier).

    Index

    Constructors

    Properties

    ActiveItemId: string | null = null

    The id of the active (visible) item, or null when the surface is empty.

    Changed$: BehaviorSubject<MediaChannelState> = ...

    Fires on every mutation. Replays the current state on subscribe (BehaviorSubject), so a late surface binding immediately renders what's already on the board.

    Items: MediaItem[] = []

    The media currently on the surface, in tab order (oldest first).

    Accessors

    Methods