Interface LoaderValue

Values used for the AsyncPreloader.loaders

interface LoaderValue {
    defaultMimeType?: DOMParserSupportedType;
    extensions: string[];
    mimeType?: {
        [key: string]: DOMParserSupportedType;
    };
}

Properties

defaultMimeType?: DOMParserSupportedType

Optional defaultMimeType used to handle the Response.

Note: Only used to parse the document in the Xml Loader.

extensions: string[]

LoadItem with no loader key specified will use the following array to find which loader should be used.

mimeType?: {
    [key: string]: DOMParserSupportedType;
}

Optional mimeType used to handle the Response.

Note: Only used to parse the document in the Xml Loader.

Type declaration

  • [key: string]: DOMParserSupportedType