@leafer/interface
Advanced tools
+1
-1
| { | ||
| "name": "@leafer/interface", | ||
| "version": "1.0.0-rc.26", | ||
| "version": "1.0.0-rc.27", | ||
| "description": "@leafer/interface", | ||
@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan", |
@@ -8,3 +8,3 @@ import { ILeaf } from '../display/ILeaf' | ||
| getPathType(leaf: ILeaf): IHitCanvas | ||
| getPixelType(leaf: ILeaf, config: ILeaferCanvasConfig): IHitCanvas | ||
| getPixelType(leaf: ILeaf, config?: ILeaferCanvasConfig): IHitCanvas | ||
| } |
+14
-0
@@ -114,2 +114,5 @@ import { ILeaferBase } from '../app/ILeafer' | ||
| disabledStyle: ILeafInputData | ||
| // 预留给用户使用的数据对象 | ||
| data: IObject | ||
| } | ||
@@ -371,2 +374,5 @@ | ||
| // 预留给用户使用的数据对象 | ||
| data?: IObject | ||
| children?: ILeafInputData[] | ||
@@ -460,2 +466,6 @@ | ||
| // 预留给用户使用的数据对象 | ||
| data?: IObject | ||
| // other | ||
@@ -572,2 +582,6 @@ __childBranchNumber?: number // 存在子分支的个数 | ||
| get(name?: string | string[] | IObject): ILeafInputData | IValue | ||
| setAttr(name: string, value: any): void | ||
| getAttr(name: string): any | ||
| getComputedAttr(name: string): any | ||
| toJSON(): IObject | ||
@@ -574,0 +588,0 @@ toString(): string |
Sorry, the diff of this file is too big to display
172638
0.28%4521
0.33%