@tawaship/pixim-animate-runtime - v0.1.0
    Preparing search index...

    Interface IAnimateContentLoaderTarget

    A content to load: what loadContentAsync takes, and the runtime content file to load first

    interface IAnimateContentLoaderTarget {
        basepath: string;
        filepath?: string;
        id: string;
        options?: {
            crossOrigin?: boolean;
            handleManifest?: (
                manifest: IContentManifestEntry[],
            ) => void | Promise<void>;
        };
    }

    Hierarchy (View Summary)

    Index
    basepath: string

    The directory the content's image paths are relative to (usually where its runtime content file is)

    filepath?: string

    The runtime content file, relative to basepath. Loaded (as a script) before the content when given; otherwise it has to be loaded already.

    id: string

    The content's composition id (lib.properties.id of the published content)

    options?: {
        crossOrigin?: boolean;
        handleManifest?: (
            manifest: IContentManifestEntry[],
        ) => void | Promise<void>;
    }

    Type Declaration

    • OptionalcrossOrigin?: boolean

      Whether images are requested with CORS (anonymous). true when omitted

    • OptionalhandleManifest?: (manifest: IContentManifestEntry[]) => void | Promise<void>

      Called with the content's images before they are loaded (a copy for this load): changing an entry's src changes what is loaded, such as a data: or blob: URL in place of the file