AutoMovie API
    Preparing search index...

    Interface IAutoMovieInspectorProps

    What a page gives AutoMovieInspector: the subjects it offers, the request text it opens with, and where to hear about every change of the request.

    interface IAutoMovieInspectorProps {
        initialText: string;
        onRequestChange?: (text: string) => void;
        subjects: Readonly<Record<string, IAutoMovieDrawSubject>>;
    }
    Index
    initialText: string

    Address query text the inspector opens with, such as location.search; read once, at mount, by readAutoMovieInspectorAddress. A text the grammar refuses, such as one with an unknown key, opens the request that asks for nothing, with the refusal shown.

    onRequestChange?: (text: string) => void

    Hear the address text of the request after every change, and once at mount, so the page keeps its address equal to the request. createAutoMovieInspectorAddressWriter gives one that writes through an injected history; without a listener the inspector touches no address.

    subjects: Readonly<Record<string, IAutoMovieDrawSubject>>

    The subjects offered by name, the record a draw page's subject module gives; the request's subject key chooses one, and with one subject it may be left out.

    Each subject must keep its object identity across renders: the canvas mount is keyed on the chosen subject object, so a new object for the same name disposes the scene and builds it again. Create the record once, outside the component.