@leafer/interface
Advanced tools
+1
-1
| { | ||
| "name": "@leafer/interface", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "description": "@leafer/interface", | ||
@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan", |
@@ -1,2 +0,2 @@ | ||
| import { ILeaf } from './ILeaf' | ||
| import { ILeaf, ILeafInputData } from './ILeaf' | ||
| import { ILeaferCanvas } from '../canvas/ILeaferCanvas' | ||
@@ -8,5 +8,5 @@ import { IRenderOptions } from '../renderer/IRenderer' | ||
| __renderBranch?(canvas: ILeaferCanvas, options: IRenderOptions): void | ||
| addMany(...children: ILeaf[]): void | ||
| addMany(...children: ILeaf[] | ILeafInputData[]): void | ||
| removeAll(destroy?: boolean): void | ||
| clear(): void | ||
| } |
@@ -432,2 +432,5 @@ import { ILeaferBase } from '../app/ILeafer' | ||
| readonly leaferIsCreated: boolean | ||
| readonly leaferIsReady: boolean | ||
| readonly isApp?: boolean | ||
@@ -666,4 +669,4 @@ readonly isLeafer?: boolean | ||
| __updateSortChildren(): void | ||
| add(child: ILeaf, index?: number): void | ||
| remove(child?: ILeaf, destroy?: boolean): void | ||
| add(child: ILeaf | ILeafInputData, index?: number): void | ||
| remove(child?: ILeaf | number | string | IFindMethod, destroy?: boolean): void | ||
| dropTo(parent: ILeaf, index?: number, resize?: boolean): void | ||
@@ -670,0 +673,0 @@ } |
+1
-1
@@ -51,3 +51,3 @@ export { IAppBase } from './app/IApp' | ||
| export { ICursorTypeMap, ICursorRotate, ICursorRotateMap } from './interaction/ICursor' | ||
| export { IInteraction, IInteractionCanvas, IInteractionConfig, IWheelConfig, ITouchConfig, IPointerConfig } from './interaction/IInteraction' | ||
| export { IInteraction, IInteractionCanvas, IInteractionConfig, IWheelConfig, ITouchConfig, IMultiTouchConfig, IPointerConfig } from './interaction/IInteraction' | ||
@@ -54,0 +54,0 @@ |
@@ -97,2 +97,3 @@ import { INumberFunction, IPointDataFunction } from '../function/IFunction' | ||
| touch?: ITouchConfig | ||
| multiTouch?: IMultiTouchConfig | ||
| zoom?: IZoomConfig | ||
@@ -160,5 +161,9 @@ move?: IMoveConfig | ||
| export interface IMultiTouchConfig { | ||
| disabled?: boolean | ||
| } | ||
| export interface ICursorConfig { | ||
| stop?: boolean | ||
| } |
@@ -46,2 +46,3 @@ import { ILeaf } from '../display/ILeaf' | ||
| list: ILeaf[] | ||
| dragHoverExclude: ILeaf[] // drag hover 过程中需排除的元素列表 | ||
| } | ||
@@ -48,0 +49,0 @@ |
Sorry, the diff of this file is too big to display
176643
0.36%4557
0.33%