|
@@ -230,11 +230,11 @@ declare module 'babylonjs-viewer/viewer/defaultViewer' {
|
|
* Mainly used for help and errors
|
|
* Mainly used for help and errors
|
|
* @param subScreen the name of the subScreen. Those can be defined in the configuration object
|
|
* @param subScreen the name of the subScreen. Those can be defined in the configuration object
|
|
*/
|
|
*/
|
|
- showOverlayScreen(subScreen: string): Promise<Template> | Promise<string>;
|
|
|
|
|
|
+ showOverlayScreen(subScreen: string): Promise<string> | Promise<Template>;
|
|
/**
|
|
/**
|
|
* Hide the overlay screen.
|
|
* Hide the overlay screen.
|
|
*/
|
|
*/
|
|
- hideOverlayScreen(): Promise<Template> | Promise<string>;
|
|
|
|
|
|
+ hideOverlayScreen(): Promise<string> | Promise<Template>;
|
|
/**
|
|
/**
|
|
* show the viewer (in case it was hidden)
|
|
* show the viewer (in case it was hidden)
|
|
*
|
|
*
|
|
@@ -251,11 +251,11 @@ declare module 'babylonjs-viewer/viewer/defaultViewer' {
|
|
* Show the loading screen.
|
|
* Show the loading screen.
|
|
* The loading screen can be configured using the configuration object
|
|
* The loading screen can be configured using the configuration object
|
|
*/
|
|
*/
|
|
- showLoadingScreen(): Promise<Template> | Promise<string>;
|
|
|
|
|
|
+ showLoadingScreen(): Promise<string> | Promise<Template>;
|
|
/**
|
|
/**
|
|
* Hide the loading screen
|
|
* Hide the loading screen
|
|
*/
|
|
*/
|
|
- hideLoadingScreen(): Promise<Template> | Promise<string>;
|
|
|
|
|
|
+ hideLoadingScreen(): Promise<string> | Promise<Template>;
|
|
dispose(): void;
|
|
dispose(): void;
|
|
protected _onConfigurationLoaded(configuration: ViewerConfiguration): void;
|
|
protected _onConfigurationLoaded(configuration: ViewerConfiguration): void;
|
|
}
|
|
}
|