Interface: ResolveURLParser
Defined in: node_modules/pixi.js/lib/assets/resolver/types.d.ts:20
Format for url parser, will test a string and if it pass will then parse it, turning it into an ResolvedAsset
Advanced
Properties
config?
> optional config?: Record<string, any>
Defined in: node_modules/pixi.js/lib/assets/resolver/types.d.ts:23
A config to adjust the parser
extension?
> optional extension?: ExtensionMetadata
Defined in: node_modules/pixi.js/lib/assets/resolver/types.d.ts:21
parse
> parse: (value) => ResolvedAsset<any> & object
Defined in: node_modules/pixi.js/lib/assets/resolver/types.d.ts:27
the function that will convert the url into an object
Parameters
value
string
Returns
ResolvedAsset<any> & object
test
> test: (url) => boolean
Defined in: node_modules/pixi.js/lib/assets/resolver/types.d.ts:25
the test to perform on the url to determine if it should be parsed
Parameters
url
string
Returns
boolean