mwg API
    Preparing search index...

    Interface PresentationRuntimeOptions

    Wiring for MwlPresentation. state is polled on every update; actions and adapters must cover every name the manifest declares or construction throws. translate maps message ids to display text (identity when omitted).

    interface PresentationRuntimeOptions {
        actions: Readonly<Record<string, (item?: PresentationItem) => void>>;
        adapters?: Readonly<
            Record<
                string,
                (context: PresentationAdapterContext) => PresentationAdapter,
            >,
        >;
        parent: Container;
        state: () => PresentationState;
        subscribe?: (refresh: () => void) => () => void;
        translate?: (message: string) => string;
    }
    Index
    actions: Readonly<Record<string, (item?: PresentationItem) => void>>
    adapters?: Readonly<
        Record<
            string,
            (context: PresentationAdapterContext) => PresentationAdapter,
        >,
    >
    parent: Container
    state: () => PresentationState
    subscribe?: (refresh: () => void) => () => void

    Optional external notification; returned disposer is called at destruction.

    translate?: (message: string) => string