@@ -41,7 +41,7 @@ You can call **create** to create a subwindow. The sample code is as follows:
...
@@ -41,7 +41,7 @@ You can call **create** to create a subwindow. The sample code is as follows:
- Call **getTopWindow** to obtain the top window of the application. The sample code is as follows:
- Call **getTopWindow** to obtain the top window of the application. The sample code is as follows:
```
```js
varwindowClass=null;
varwindowClass=null;
letpromise=window.getTopWindow();
letpromise=window.getTopWindow();
promise.then((data)=>{
promise.then((data)=>{
...
@@ -54,7 +54,7 @@ You can call **create** to create a subwindow. The sample code is as follows:
...
@@ -54,7 +54,7 @@ You can call **create** to create a subwindow. The sample code is as follows:
- You can also call **find** to obtain created subwindows in the application. The sample code is as follows:
- You can also call **find** to obtain created subwindows in the application. The sample code is as follows:
```
```js
varwindowClass=null;
varwindowClass=null;
letpromise=window.find("subWindow");
letpromise=window.find("subWindow");
promise.then((data)=>{
promise.then((data)=>{
...
@@ -69,7 +69,7 @@ You can call **create** to create a subwindow. The sample code is as follows:
...
@@ -69,7 +69,7 @@ You can call **create** to create a subwindow. The sample code is as follows:
After a window object is obtained, you can call **hide** and **destroy** to hide and destroy the window object, respectively. The sample code is as follows:
After a window object is obtained, you can call **hide** and **destroy** to hide and destroy the window object, respectively. The sample code is as follows: