@leafer/display
Advanced tools
+7
-5
| { | ||
| "name": "@leafer/display", | ||
| "version": "1.0.0-alpha.1", | ||
| "version": "1.0.0-alpha.2", | ||
| "description": "@leafer/display", | ||
@@ -8,3 +8,5 @@ "author": "Chao (Leafer) Wan", | ||
| "main": "src/index.ts", | ||
| "files": ["src"], | ||
| "files": [ | ||
| "src" | ||
| ], | ||
| "repository": { | ||
@@ -24,3 +26,3 @@ "type": "git", | ||
| "@leafer/layout": "1.0.0-alpha.1", | ||
| "@leafer/module": "1.0.0-alpha.1", | ||
| "@leafer/display-module": "1.0.0-alpha.1", | ||
| "@leafer/event": "1.0.0-alpha.1", | ||
@@ -31,4 +33,4 @@ "@leafer/decorator": "1.0.0-alpha.1", | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.0.0-alpha.1" | ||
| "@leafer/interface": "1.0.0-alpha.1" | ||
| } | ||
| } | ||
| } |
+21
-21
@@ -1,2 +0,2 @@ | ||
| import { ILeafer, ILeaf, ILeafInputData, ILeafData, ILeaferCanvas, IRenderOptions, IMatrixWithBoundsData, __Number, __Boolean, ILeafLayout, InnerId, IHitCanvas, IRadiusPointData, IEventListenerMap, IEventListener, IEventListenerOptions, IEventListenerId, IEvent, IObject, IFunction, IBoundsData, IMatrixData, __String } from '@leafer/interface' | ||
| import { ILeafer, ILeaf, ILeafInputData, ILeafData, ILeaferCanvas, IRenderOptions, IMatrixWithBoundsData, __Number, __Boolean, ILeafLayout, InnerId, IHitCanvas, IRadiusPointData, IEventListenerMap, IEventListener, IEventListenerOptions, IEventListenerId, IEvent, IObject, IFunction, __String } from '@leafer/interface' | ||
| import { IncrementId } from '@leafer/math' | ||
@@ -117,7 +117,7 @@ import { LeafData } from '@leafer/data' | ||
| public __set(attrName: string, newValue: unknown): void { } | ||
| public __set(_attrName: string, _newValue: unknown): void { } | ||
| public __get(attrName: string): unknown { return undefined } | ||
| public __get(_attrName: string): unknown { return undefined } | ||
| public __updateAttr(attrName: string): void { } | ||
| public __updateAttr(_attrName: string): void { } | ||
@@ -176,5 +176,5 @@ // --- | ||
| public __hitWorld(point: IRadiusPointData): boolean { return true } | ||
| public __hitWorld(_point: IRadiusPointData): boolean { return true } | ||
| public __hit(local: IRadiusPointData): boolean { return true } | ||
| public __hit(_local: IRadiusPointData): boolean { return true } | ||
@@ -188,7 +188,7 @@ public __updateHitCanvas(): void { } | ||
| public __render(canvas: ILeaferCanvas, options: IRenderOptions): void { } | ||
| public __render(_canvas: ILeaferCanvas, _options: IRenderOptions): void { } | ||
| public __drawFast(canvas: ILeaferCanvas, options: IRenderOptions): void { } | ||
| public __drawFast(_canvas: ILeaferCanvas, _options: IRenderOptions): void { } | ||
| public __draw(canvas: ILeaferCanvas, options: IRenderOptions): void { } | ||
| public __draw(_canvas: ILeaferCanvas, _options: IRenderOptions): void { } | ||
@@ -202,5 +202,5 @@ public __updateChange(): void { } | ||
| public __drawPath(canvas: ILeaferCanvas): void { } | ||
| public __drawPath(_canvas: ILeaferCanvas): void { } | ||
| public __drawRenderPath(canvas: ILeaferCanvas): void { } | ||
| public __drawRenderPath(_canvas: ILeaferCanvas): void { } | ||
@@ -216,5 +216,5 @@ public __updatePath(): void { } | ||
| public add(child: ILeaf, index?: number): void { } | ||
| public add(_child: ILeaf, _index?: number): void { } | ||
| public remove(child?: ILeaf): void { } | ||
| public remove(_child?: ILeaf): void { } | ||
@@ -226,17 +226,17 @@ // --- | ||
| public on(type: string | string[], listener: IEventListener, options?: IEventListenerOptions | boolean): void { } | ||
| public on(_type: string | string[], _listener: IEventListener, _options?: IEventListenerOptions | boolean): void { } | ||
| public off(type: string | string[], listener: IEventListener, options?: IEventListenerOptions | boolean): void { } | ||
| public off(_type: string | string[], _listener: IEventListener, _options?: IEventListenerOptions | boolean): void { } | ||
| public on__(type: string | string[], listener: IEventListener, bind?: IObject, options?: IEventListenerOptions | boolean): IEventListenerId { return undefined } | ||
| public on__(_type: string | string[], _listener: IEventListener, _bind?: IObject, _options?: IEventListenerOptions | boolean): IEventListenerId { return undefined } | ||
| public off__(id: IEventListenerId | IEventListenerId[]): void { } | ||
| public off__(_id: IEventListenerId | IEventListenerId[]): void { } | ||
| public once(type: string | string[], listener: IEventListener, capture?: boolean): void { } | ||
| public once(_type: string | string[], _listener: IEventListener, _capture?: boolean): void { } | ||
| public emit(type: string, event?: IEvent | IObject, capture?: boolean): void { } | ||
| public emit(_type: string, _event?: IEvent | IObject, _capture?: boolean): void { } | ||
| public emitEvent(event?: IEvent, capture?: boolean): void { } | ||
| public emitEvent(_event?: IEvent, _capture?: boolean): void { } | ||
| public hasEvent(type: string, capture?: boolean): boolean { return false } | ||
| public hasEvent(_type: string, _capture?: boolean): boolean { return false } | ||
@@ -243,0 +243,0 @@ // --- |
13322
0.2%+ Added
- Removed
- Removed