@zhongguo168a/yxeditor-common 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +5 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1023,6 +1023,11 @@ declare class ViewController extends Controller {
|
|
|
1023
1023
|
openByRoute(route: Route): View;
|
|
1024
1024
|
private openView;
|
|
1025
1025
|
openComplete(view: View): void;
|
|
1026
|
+
/**
|
|
1027
|
+
* viewrepo中存在页面才会关闭
|
|
1028
|
+
* @param route
|
|
1029
|
+
* @returns
|
|
1030
|
+
*/
|
|
1026
1031
|
closeByRoute(route?: Route): View;
|
|
1027
1032
|
private closeView;
|
|
1028
1033
|
closeComplete(view: View): void;
|
package/dist/index.esm.js
CHANGED
|
@@ -3991,6 +3991,11 @@ class ViewController extends Controller {
|
|
|
3991
3991
|
this.onOpened(view);
|
|
3992
3992
|
view.dispatch(ViewEvent.Opened);
|
|
3993
3993
|
}
|
|
3994
|
+
/**
|
|
3995
|
+
* viewrepo中存在页面才会关闭
|
|
3996
|
+
* @param route
|
|
3997
|
+
* @returns
|
|
3998
|
+
*/
|
|
3994
3999
|
closeByRoute(route) {
|
|
3995
4000
|
let lastview;
|
|
3996
4001
|
if (this._layer) {
|