@leafer-ui/interface 1.0.0-beta.5 → 1.0.0-beta.7
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 +2 -2
- package/src/IUI.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/interface",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.7",
|
|
4
4
|
"description": "@leafer-ui/interface",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"leaferjs"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@leafer/interface": "1.0.0-beta.
|
|
22
|
+
"@leafer/interface": "1.0.0-beta.7"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/src/IUI.ts
CHANGED
|
@@ -247,10 +247,11 @@ export interface IGroup extends IUI {
|
|
|
247
247
|
children: IUI[]
|
|
248
248
|
mask?: IUI
|
|
249
249
|
add(child: IUI, index?: number): void
|
|
250
|
-
remove(child?: IUI): void
|
|
251
250
|
addAt(child: IUI, index: number): void
|
|
252
251
|
addAfter(child: IUI, after: IUI): void
|
|
253
252
|
addBefore(child: IUI, before: IUI): void
|
|
253
|
+
remove(child?: IUI): void
|
|
254
|
+
removeAll(): void
|
|
254
255
|
}
|
|
255
256
|
export interface IGroupData extends IUIData { }
|
|
256
257
|
export interface IGroupInputData extends IUIInputData { }
|