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

    Interface IContentTarget

    What to load a content from: its composition id, and the directory its images are relative to

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

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

    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