pixi.js
    Preparing search index...

    Interface ResolveURLParserAdvanced

    Format for url parser, will test a string and if it pass will then parse it, turning it into an ResolvedAsset

    interface ResolveURLParser {
        config?: Record<string, any>;
        extension?: ExtensionMetadata;
        parse: (value: string) => ResolvedAsset<any> & { [key: string]: any };
        test: (url: string) => boolean;
    }
    Index

    Properties

    config?: Record<string, any>

    A config to adjust the parser

    extension?: ExtensionMetadata
    parse: (value: string) => ResolvedAsset<any> & { [key: string]: any }

    the function that will convert the url into an object

    test: (url: string) => boolean

    the test to perform on the url to determine if it should be parsed