[ts] Player, create DOM first so any errors can be shown.

This commit is contained in:
Nathan Sweet 2021-06-23 00:45:15 -04:00
parent b3c405e9ca
commit 7708e9a5a3
4 changed files with 14167 additions and 14161 deletions

View File

@ -1682,7 +1682,7 @@ declare module spine {
interface SpinePlayerConfig {
jsonUrl: string;
jsonField: string;
skelUrl: string;
binaryUrl: string;
atlasUrl: string;
rawDataURIs: Map<string>;
animation: string;
@ -1777,7 +1777,7 @@ declare module spine {
private viewportTransitionStart;
constructor(parent: HTMLElement | string, config: SpinePlayerConfig);
private validateConfig;
private create;
private initialize;
private loadSkeleton;
private setupInput;
play(): void;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long