Constructors
constructor
- new Uninit(game: Game): Uninit
-
Methods
onBeforeUnloadAsynchronous
- onBeforeUnloadAsynchronous(event?: {
preventDefault?: (() => void);
returnValue?: string | boolean;
}): Promise<void>
-
Parameters
-
event: {
preventDefault?: (() => void);
returnValue?: string | boolean;
} = {}
-
Optional
preventDefault?: (() => void)
-
Optional
returnValue?: string | boolean
Returns Promise<void>
onBeforeUnloadSynchronous
- onBeforeUnloadSynchronous(event: Event): void
-
Returns void