@leafer-ui/app 1.2.2 → 1.3.0
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/package.json +6 -6
- package/src/App.ts +2 -2
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "@leafer-ui/app",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/core": "1.
|
|
26
|
-
"@leafer-ui/display": "1.
|
|
27
|
-
"@leafer-ui/data": "1.
|
|
25
|
+
"@leafer/core": "1.3.0",
|
|
26
|
+
"@leafer-ui/display": "1.3.0",
|
|
27
|
+
"@leafer-ui/data": "1.3.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@leafer/interface": "1.
|
|
31
|
-
"@leafer-ui/interface": "1.
|
|
30
|
+
"@leafer/interface": "1.3.0",
|
|
31
|
+
"@leafer-ui/interface": "1.3.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/App.ts
CHANGED
|
@@ -127,8 +127,8 @@ export class App extends Leafer implements IApp {
|
|
|
127
127
|
super.__onResize(event)
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
this.children.forEach(leafer => leafer.
|
|
130
|
+
public updateLayout(): void {
|
|
131
|
+
this.children.forEach(leafer => leafer.updateLayout())
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
protected __getChildConfig(userConfig?: ILeaferConfig): ILeaferConfig {
|
package/types/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare class App extends Leafer implements IApp {
|
|
|
28
28
|
protected __onChildRenderEnd(e: RenderEvent): void;
|
|
29
29
|
__render(canvas: ILeaferCanvas, options: IRenderOptions): void;
|
|
30
30
|
__onResize(event: IResizeEvent): void;
|
|
31
|
-
|
|
31
|
+
updateLayout(): void;
|
|
32
32
|
protected __getChildConfig(userConfig?: ILeaferConfig): ILeaferConfig;
|
|
33
33
|
protected __listenChildEvents(leafer: ILeaferBase): void;
|
|
34
34
|
}
|