mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 00:49:41 +00:00
1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
|
{"class":{"name":"PIXI.JsonLoader","extends":"","static":false,"constructor":true,"parameters":[{"name":"url","type":["string"],"help":"The url of the JSON file","optional":false,"default":null},{"name":"crossorigin","type":["boolean"],"help":"Whether requests should be treated as crossorigin","optional":false,"default":null}],"help":"The json file loader is used to load in JSON data and parse it\\nWhen loaded this class will dispatch a 'loaded' event\\nIf loading fails this class will dispatch an 'error' event"},"consts":[],"methods":{"public":[{"name":"load","static":false,"returns":null,"help":"Loads the JSON data","line":64,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[{"name":"onError","static":false,"returns":null,"help":"Invoked if an error occurs.","line":182,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"onJSONLoaded","static":false,"returns":null,"help":"Invoked when the JSON file is loaded.","line":104,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"onLoaded","static":false,"returns":null,"help":"Invoked when the json file has loaded.","line":168,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[{"name":"baseUrl","type":["string"],"help":"[read-only] The base url of the bitmap font data","inlineHelp":"","line":41,"default":null,"public":true,"protected":false,"private":false,"readOnly":true},{"name":"crossorigin","type":["boolean"],"help":"Whether the requests should be treated as cross origin","inlineHelp":"","line":32,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"loaded","type":["boolean"],"help":"[read-only] Whether the data has loaded yet","inlineHelp":"","line":50,"default":null,"public":true,"protected":false,"private":false,"readOnly":true},{"name":"url","type":["string"],"help":"The url of the bitmap font data","inlineHelp":"","line":24,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|