diff --git a/docs/classes/KoDragDirective.md b/docs/classes/KoDragDirective.md index 18a0e66..3e41e2b 100644 --- a/docs/classes/KoDragDirective.md +++ b/docs/classes/KoDragDirective.md @@ -36,7 +36,7 @@ ### constructor -• **new KoDragDirective**(`nestable`) +• **new KoDragDirective**(`nestable`): [`KoDragDirective`](KoDragDirective.md) #### Parameters @@ -44,39 +44,43 @@ | :------ | :------ | | `nestable` | [`KoNestable`](KoNestable.md) | +#### Returns + +[`KoDragDirective`](KoDragDirective.md) + #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:25](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L25) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:25](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L25) ## Properties ### koDragEnd -• **koDragEnd**: `EventEmitter`<`KonvaEventObject`<`DragEvent`\>\> +• **koDragEnd**: `EventEmitter`\<`KonvaEventObject`\<`DragEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:17](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L17) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:17](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L17) ___ ### koDragMove -• **koDragMove**: `EventEmitter`<`KonvaEventObject`<`DragEvent`\>\> +• **koDragMove**: `EventEmitter`\<`KonvaEventObject`\<`DragEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:14](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L14) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:14](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L14) ___ ### koDragStart -• **koDragStart**: `EventEmitter`<`KonvaEventObject`<`DragEvent`\>\> +• **koDragStart**: `EventEmitter`\<`KonvaEventObject`\<`DragEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:11](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L11) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:11](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L11) ___ @@ -86,13 +90,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:19](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L19) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:19](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L19) ___ ### onDragEndListener -• **onDragEndListener**: (`event`: `KonvaEventObject`<`DragEvent`\>) => `void` +• **onDragEndListener**: (`event`: `KonvaEventObject`\<`DragEvent`\>) => `void` #### Type declaration @@ -102,7 +106,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`DragEvent`\> | +| `event` | `KonvaEventObject`\<`DragEvent`\> | ##### Returns @@ -110,13 +114,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:22](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L22) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:22](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L22) ___ ### onDragMoveListener -• **onDragMoveListener**: (`event`: `KonvaEventObject`<`DragEvent`\>) => `void` +• **onDragMoveListener**: (`event`: `KonvaEventObject`\<`DragEvent`\>) => `void` #### Type declaration @@ -126,7 +130,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`DragEvent`\> | +| `event` | `KonvaEventObject`\<`DragEvent`\> | ##### Returns @@ -134,13 +138,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L23) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L23) ___ ### onDragStarterListener -• **onDragStarterListener**: (`event`: `KonvaEventObject`<`DragEvent`\>) => `void` +• **onDragStarterListener**: (`event`: `KonvaEventObject`\<`DragEvent`\>) => `void` #### Type declaration @@ -150,7 +154,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`DragEvent`\> | +| `event` | `KonvaEventObject`\<`DragEvent`\> | ##### Returns @@ -158,7 +162,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L21) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L21) ## Methods @@ -172,7 +176,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L46) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L46) ___ @@ -190,7 +194,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L39) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L39) ___ @@ -208,7 +212,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L36) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L36) ___ @@ -220,7 +224,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`DragEvent`\> | +| `event` | `KonvaEventObject`\<`DragEvent`\> | #### Returns @@ -228,7 +232,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:56](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L56) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:56](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L56) ___ @@ -240,7 +244,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`DragEvent`\> | +| `event` | `KonvaEventObject`\<`DragEvent`\> | #### Returns @@ -248,7 +252,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:60](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L60) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:60](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L60) ___ @@ -260,7 +264,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`DragEvent`\> | +| `event` | `KonvaEventObject`\<`DragEvent`\> | #### Returns @@ -268,4 +272,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L52) +[projects/ngx-konva/src/lib/directives/ko-drag.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-drag.directive.ts#L52) diff --git a/docs/classes/KoGroupComponent.md b/docs/classes/KoGroupComponent.md index b6aec4d..fabb064 100644 --- a/docs/classes/KoGroupComponent.md +++ b/docs/classes/KoGroupComponent.md @@ -55,7 +55,7 @@ ### constructor -• **new KoGroupComponent**(`layerComponent`) +• **new KoGroupComponent**(`layerComponent`): [`KoGroupComponent`](KoGroupComponent.md) #### Parameters @@ -63,13 +63,17 @@ | :------ | :------ | | `layerComponent` | [`KoLayerComponent`](KoLayerComponent.md) | +#### Returns + +[`KoGroupComponent`](KoGroupComponent.md) + #### Overrides [KoNestable](KoNestable.md).[constructor](KoNestable.md#constructor) #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:39](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L39) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:39](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L39) ## Properties @@ -79,7 +83,7 @@ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L20) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L20) ___ @@ -93,7 +97,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) ___ @@ -107,27 +111,27 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<`Group`\> +• **afterUpdate**: `EventEmitter`\<`Group`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:37](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L37) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:37](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L37) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<`Group`\> +• **beforeUpdate**: `EventEmitter`\<`Group`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L34) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L34) ___ @@ -137,7 +141,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L18) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L18) ___ @@ -151,7 +155,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) ___ @@ -161,17 +165,17 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:40](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L40) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:40](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L40) ___ ### onNewItem -• **onNewItem**: `EventEmitter`<`Layer` \| `Group` \| [`KoShape`](../modules.md#koshape)\> +• **onNewItem**: `EventEmitter`\<`Layer` \| `Group` \| [`KoShape`](../modules.md#koshape)\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:31](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L31) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:31](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L31) ___ @@ -185,7 +189,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) ___ @@ -199,13 +203,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) ___ ### transitionOnFinish -• **transitionOnFinish**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnFinish**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -213,13 +217,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) ___ ### transitionOnUpdate -• **transitionOnUpdate**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnUpdate**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -227,13 +231,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) ___ ### transitionWith -• `Optional` **transitionWith**: `Omit`<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> +• `Optional` **transitionWith**: `Omit`\<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> #### Inherited from @@ -241,7 +245,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) ___ @@ -276,7 +280,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) ## Accessors @@ -296,7 +300,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L24) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L24) ## Methods @@ -316,7 +320,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L64) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L64) ___ @@ -334,7 +338,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L54) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L54) ___ @@ -352,7 +356,7 @@ AfterViewInit.ngAfterViewInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:51](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L51) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:51](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L51) ___ @@ -370,7 +374,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) ___ @@ -392,7 +396,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:47](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L47) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:47](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L47) ___ @@ -416,13 +420,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) ___ ### updateGroup -▸ `Private` **updateGroup**(): `void` +▸ **updateGroup**(): `void` #### Returns @@ -430,4 +434,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-group.component.ts:58](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-group.component.ts#L58) +[projects/ngx-konva/src/lib/components/ko-group.component.ts:58](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-group.component.ts#L58) diff --git a/docs/classes/KoHoverDirective.md b/docs/classes/KoHoverDirective.md index 0bcad73..936d264 100644 --- a/docs/classes/KoHoverDirective.md +++ b/docs/classes/KoHoverDirective.md @@ -34,7 +34,7 @@ ### constructor -• **new KoHoverDirective**(`nestable`) +• **new KoHoverDirective**(`nestable`): [`KoHoverDirective`](KoHoverDirective.md) #### Parameters @@ -42,9 +42,13 @@ | :------ | :------ | | `nestable` | [`KoNestable`](KoNestable.md) | +#### Returns + +[`KoHoverDirective`](KoHoverDirective.md) + #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L23) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L23) ## Properties @@ -54,27 +58,27 @@ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:16](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L16) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:16](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L16) ___ ### koHoverEnd -• **koHoverEnd**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **koHoverEnd**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:14](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L14) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:14](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L14) ___ ### koHoverStart -• **koHoverStart**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **koHoverStart**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:11](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L11) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:11](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L11) ___ @@ -84,7 +88,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L18) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L18) ___ @@ -102,7 +106,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:20](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L20) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:20](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L20) ___ @@ -120,7 +124,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L21) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L21) ## Methods @@ -134,7 +138,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:43](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L43) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:43](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L43) ___ @@ -152,7 +156,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:37](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L37) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:37](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L37) ___ @@ -170,7 +174,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L34) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L34) ___ @@ -184,7 +188,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:48](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L48) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:48](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L48) ___ @@ -198,4 +202,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:53](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L53) +[projects/ngx-konva/src/lib/directives/ko-hover.directive.ts:53](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-hover.directive.ts#L53) diff --git a/docs/classes/KoImageComponent.md b/docs/classes/KoImageComponent.md index 09e30c4..b014eab 100644 --- a/docs/classes/KoImageComponent.md +++ b/docs/classes/KoImageComponent.md @@ -60,7 +60,7 @@ ### constructor -• **new KoImageComponent**(`layerComponent`, `groupComponent`) +• **new KoImageComponent**(`layerComponent`, `groupComponent`): [`KoImageComponent`](KoImageComponent.md) #### Parameters @@ -69,13 +69,17 @@ | `layerComponent` | [`KoLayerComponent`](KoLayerComponent.md) | | `groupComponent` | [`KoGroupComponent`](KoGroupComponent.md) | +#### Returns + +[`KoImageComponent`](KoImageComponent.md) + #### Overrides [KoNestable](KoNestable.md).[constructor](KoNestable.md#constructor) #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:52](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L52) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:61](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L61) ## Properties @@ -85,7 +89,7 @@ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:31](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L31) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:36](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L36) ___ @@ -95,7 +99,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:22](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L22) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L23) ___ @@ -105,7 +109,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L24) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:25](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L25) ___ @@ -119,7 +123,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) ___ @@ -133,27 +137,27 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<[`KoShape`](../modules.md#koshape)\> +• **afterUpdate**: `EventEmitter`\<[`KoShape`](../modules.md#koshape)\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:48](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L48) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:57](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L57) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<[`KoShape`](../modules.md#koshape)\> +• **beforeUpdate**: `EventEmitter`\<[`KoShape`](../modules.md#koshape)\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:45](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L45) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L54) ___ @@ -163,7 +167,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L42) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:51](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L51) ___ @@ -173,7 +177,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L54) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:63](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L63) ___ @@ -187,7 +191,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) ___ @@ -197,7 +201,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:53](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L53) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:62](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L62) ___ @@ -207,7 +211,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L20) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L21) ___ @@ -225,7 +229,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:50](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L50) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:59](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L59) ___ @@ -239,7 +243,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) ___ @@ -253,13 +257,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) ___ ### transitionOnFinish -• **transitionOnFinish**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnFinish**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -267,13 +271,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) ___ ### transitionOnUpdate -• **transitionOnUpdate**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnUpdate**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -281,13 +285,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) ___ ### transitionWith -• `Optional` **transitionWith**: `Omit`<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> +• `Optional` **transitionWith**: `Omit`\<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> #### Inherited from @@ -295,7 +299,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) ___ @@ -330,7 +334,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) ## Accessors @@ -350,7 +354,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L35) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:40](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L40) ___ @@ -370,13 +374,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:26](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L26) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L27) ## Methods ### \_afterRender -▸ `Private` **_afterRender**(): `void` +▸ **_afterRender**(): `void` #### Returns @@ -384,13 +388,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:90](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L90) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:99](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L99) ___ ### \_beforeRender -▸ `Private` **_beforeRender**(): `void` +▸ **_beforeRender**(): `void` #### Returns @@ -398,7 +402,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:86](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L86) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:95](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L95) ___ @@ -416,7 +420,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:74](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L74) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:83](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L83) ___ @@ -434,7 +438,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:69](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L69) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:78](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L78) ___ @@ -456,13 +460,13 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L42) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:42](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L42) ___ ### onImageLoad -▸ `Private` **onImageLoad**(): `void` +▸ **onImageLoad**(): `void` #### Returns @@ -470,7 +474,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:99](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L99) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:108](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L108) ___ @@ -494,13 +498,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) ___ ### updateShape -▸ `Private` **updateShape**(): `void` +▸ **updateShape**(): `void` #### Returns @@ -508,4 +512,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:78](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L78) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:87](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L87) diff --git a/docs/classes/KoLabelComponent.md b/docs/classes/KoLabelComponent.md index 8a445fc..d3a4270 100644 --- a/docs/classes/KoLabelComponent.md +++ b/docs/classes/KoLabelComponent.md @@ -65,7 +65,7 @@ ### constructor -• **new KoLabelComponent**(`layerComponent`, `groupComponent`) +• **new KoLabelComponent**(`layerComponent`, `groupComponent`): [`KoLabelComponent`](KoLabelComponent.md) #### Parameters @@ -74,13 +74,17 @@ | `layerComponent` | [`KoLayerComponent`](KoLayerComponent.md) | | `groupComponent` | [`KoGroupComponent`](KoGroupComponent.md) | +#### Returns + +[`KoLabelComponent`](KoLabelComponent.md) + #### Overrides [KoNestable](KoNestable.md).[constructor](KoNestable.md#constructor) #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:76](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L76) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:76](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L76) ## Properties @@ -90,7 +94,7 @@ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L23) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L23) ___ @@ -100,7 +104,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L41) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L41) ___ @@ -110,7 +114,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:33](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L33) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:33](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L33) ___ @@ -124,7 +128,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) ___ @@ -138,27 +142,27 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<`Label`\> +• **afterUpdate**: `EventEmitter`\<`Label`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:74](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L74) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:74](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L74) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<`Label`\> +• **beforeUpdate**: `EventEmitter`\<`Label`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:71](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L71) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:71](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L71) ___ @@ -168,7 +172,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:68](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L68) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:68](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L68) ___ @@ -178,7 +182,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:78](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L78) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:78](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L78) ___ @@ -192,7 +196,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) ___ @@ -202,7 +206,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:77](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L77) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:77](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L77) ___ @@ -212,7 +216,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:19](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L19) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:19](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L19) ___ @@ -226,7 +230,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) ___ @@ -236,7 +240,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L21) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L21) ___ @@ -246,7 +250,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L20) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L20) ___ @@ -260,13 +264,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) ___ ### transitionOnFinish -• **transitionOnFinish**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnFinish**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -274,13 +278,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) ___ ### transitionOnUpdate -• **transitionOnUpdate**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnUpdate**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -288,13 +292,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) ___ ### transitionWith -• `Optional` **transitionWith**: `Omit`<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> +• `Optional` **transitionWith**: `Omit`\<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> #### Inherited from @@ -302,7 +306,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) ___ @@ -337,7 +341,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) ## Accessors @@ -357,7 +361,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L27) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L27) ___ @@ -377,7 +381,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L43) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L43) ___ @@ -397,7 +401,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:50](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L50) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:50](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L50) ___ @@ -417,7 +421,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L35) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L35) ___ @@ -437,13 +441,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:59](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L59) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:59](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L59) ## Methods ### \_afterRender -▸ `Private` **_afterRender**(): `void` +▸ **_afterRender**(): `void` #### Returns @@ -451,13 +455,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:130](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L130) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:130](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L130) ___ ### \_beforeRender -▸ `Private` **_beforeRender**(): `void` +▸ **_beforeRender**(): `void` #### Returns @@ -465,7 +469,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:126](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L126) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:126](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L126) ___ @@ -483,7 +487,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:100](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L100) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:100](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L100) ___ @@ -501,7 +505,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:96](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L96) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:96](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L96) ___ @@ -523,7 +527,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L42) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:42](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L42) ___ @@ -547,13 +551,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) ___ ### updateLabel -▸ `Private` **updateLabel**(): `void` +▸ **updateLabel**(): `void` #### Returns @@ -561,13 +565,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:112](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L112) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:112](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L112) ___ ### updateTag -▸ `Private` **updateTag**(): `void` +▸ **updateTag**(): `void` #### Returns @@ -575,13 +579,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:118](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L118) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:118](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L118) ___ ### updateText -▸ `Private` **updateText**(): `void` +▸ **updateText**(): `void` #### Returns @@ -589,4 +593,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-label.component.ts:104](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-label.component.ts#L104) +[projects/ngx-konva/src/lib/components/ko-label.component.ts:104](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-label.component.ts#L104) diff --git a/docs/classes/KoLayerComponent.md b/docs/classes/KoLayerComponent.md index 6db045f..fbcacb6 100644 --- a/docs/classes/KoLayerComponent.md +++ b/docs/classes/KoLayerComponent.md @@ -57,7 +57,7 @@ ### constructor -• **new KoLayerComponent**(`stageComponent?`, `stageAutoComponent?`, `layerComponent?`) +• **new KoLayerComponent**(`stageComponent?`, `stageAutoComponent?`, `layerComponent?`): [`KoLayerComponent`](KoLayerComponent.md) #### Parameters @@ -67,13 +67,17 @@ | `stageAutoComponent?` | [`KoStageAutoScaleComponent`](KoStageAutoScaleComponent.md) | | `layerComponent?` | [`KoLayerComponent`](KoLayerComponent.md) | +#### Returns + +[`KoLayerComponent`](KoLayerComponent.md) + #### Overrides [KoNestable](KoNestable.md).[constructor](KoNestable.md#constructor) #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L43) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L43) ## Properties @@ -83,7 +87,7 @@ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L23) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L23) ___ @@ -97,7 +101,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) ___ @@ -111,27 +115,27 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<`Layer`\> +• **afterUpdate**: `EventEmitter`\<`Layer`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L41) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L41) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<`Layer`\> +• **beforeUpdate**: `EventEmitter`\<`Layer`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:38](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L38) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:38](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L38) ___ @@ -145,7 +149,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) ___ @@ -155,7 +159,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L20) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L20) ___ @@ -165,17 +169,17 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:46](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L46) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:46](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L46) ___ ### onNewItem -• **onNewItem**: `EventEmitter`<`Layer` \| `Group` \| [`KoShape`](../modules.md#koshape)\> +• **onNewItem**: `EventEmitter`\<`Layer` \| `Group` \| [`KoShape`](../modules.md#koshape)\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L35) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L35) ___ @@ -185,7 +189,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L21) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L21) ___ @@ -199,7 +203,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) ___ @@ -213,13 +217,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) ___ ### transitionOnFinish -• **transitionOnFinish**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnFinish**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -227,13 +231,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) ___ ### transitionOnUpdate -• **transitionOnUpdate**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnUpdate**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -241,13 +245,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) ___ ### transitionWith -• `Optional` **transitionWith**: `Omit`<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> +• `Optional` **transitionWith**: `Omit`\<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> #### Inherited from @@ -255,7 +259,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) ___ @@ -290,7 +294,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) ## Accessors @@ -310,7 +314,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:28](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L28) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:28](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L28) ## Methods @@ -330,7 +334,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:81](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L81) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:81](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L81) ___ @@ -348,7 +352,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:70](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L70) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:70](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L70) ___ @@ -366,7 +370,7 @@ AfterViewInit.ngAfterViewInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:67](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L67) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:67](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L67) ___ @@ -388,7 +392,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) ___ @@ -410,7 +414,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:63](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L63) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:63](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L63) ___ @@ -434,7 +438,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) ___ @@ -448,4 +452,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-layer.component.ts:74](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L74) +[projects/ngx-konva/src/lib/components/ko-layer.component.ts:74](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-layer.component.ts#L74) diff --git a/docs/classes/KoMouseDirective.md b/docs/classes/KoMouseDirective.md index a3b99ab..ab9d46b 100644 --- a/docs/classes/KoMouseDirective.md +++ b/docs/classes/KoMouseDirective.md @@ -59,7 +59,7 @@ ### constructor -• **new KoMouseDirective**(`nestable`, `stage`) +• **new KoMouseDirective**(`nestable`, `stage`): [`KoMouseDirective`](KoMouseDirective.md) #### Parameters @@ -68,9 +68,13 @@ | `nestable` | [`KoNestable`](KoNestable.md) | | `stage` | [`KoStageComponent`](KoStageComponent.md) | +#### Returns + +[`KoMouseDirective`](KoMouseDirective.md) + #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:58](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L58) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:58](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L58) ## Properties @@ -80,107 +84,107 @@ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L42) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:42](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L42) ___ ### koClick -• **koClick**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koClick**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L36) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L36) ___ ### koDblclick -• **koDblclick**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koDblclick**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L39) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L39) ___ ### koMouseDown -• **koMouseDown**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseDown**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:12](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L12) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:12](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L12) ___ ### koMouseEnter -• **koMouseEnter**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseEnter**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L27) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L27) ___ ### koMouseLeave -• **koMouseLeave**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseLeave**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L21) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L21) ___ ### koMouseMove -• **koMouseMove**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseMove**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L15) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L15) ___ ### koMouseOut -• **koMouseOut**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseOut**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:33](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L33) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:33](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L33) ___ ### koMouseOver -• **koMouseOver**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseOver**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L24) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L24) ___ ### koMouseUp -• **koMouseUp**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseUp**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L18) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L18) ___ ### koMouseWheel -• **koMouseWheel**: `EventEmitter`<`KonvaEventObject`<`MouseEvent`\>\> +• **koMouseWheel**: `EventEmitter`\<`KonvaEventObject`\<`MouseEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L30) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L30) ___ @@ -190,13 +194,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:44](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L44) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:44](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L44) ___ ### onClickListener -• **onClickListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onClickListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -206,7 +210,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -214,13 +218,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:54](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L54) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L54) ___ ### onDblclickListener -• **onDblclickListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onDblclickListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -230,7 +234,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -238,13 +242,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:55](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L55) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:55](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L55) ___ ### onMouseDownListener -• **onMouseDownListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseDownListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -254,7 +258,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -262,13 +266,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L46) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L46) ___ ### onMouseEnterListener -• **onMouseEnterListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseEnterListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -278,7 +282,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -286,13 +290,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:51](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L51) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:51](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L51) ___ ### onMouseLeaveListener -• **onMouseLeaveListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseLeaveListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -302,7 +306,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -310,13 +314,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L49) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L49) ___ ### onMouseMoveListener -• **onMouseMoveListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseMoveListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -326,7 +330,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -334,13 +338,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:47](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L47) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:47](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L47) ___ ### onMouseOutListener -• **onMouseOutListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseOutListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -350,7 +354,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -358,13 +362,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L52) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L52) ___ ### onMouseOverListener -• **onMouseOverListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseOverListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -374,7 +378,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -382,13 +386,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:50](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L50) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:50](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L50) ___ ### onMouseUpListener -• **onMouseUpListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseUpListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -398,7 +402,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -406,13 +410,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:48](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L48) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:48](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L48) ___ ### onMouseWheelListener -• **onMouseWheelListener**: (`event`: `KonvaEventObject`<`MouseEvent`\>) => `void` +• **onMouseWheelListener**: (`event`: `KonvaEventObject`\<`MouseEvent`\>) => `void` #### Type declaration @@ -422,7 +426,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | ##### Returns @@ -430,7 +434,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:53](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L53) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:53](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L53) ___ @@ -440,7 +444,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:41](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L41) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:41](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L41) ## Methods @@ -454,7 +458,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:92](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L92) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:92](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L92) ___ @@ -472,7 +476,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:74](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L74) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:74](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L74) ___ @@ -490,7 +494,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:71](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L71) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:71](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L71) ___ @@ -502,7 +506,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -510,7 +514,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:141](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L141) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:141](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L141) ___ @@ -522,7 +526,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -530,7 +534,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:145](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L145) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:145](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L145) ___ @@ -542,7 +546,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -550,7 +554,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:113](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L113) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:113](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L113) ___ @@ -562,7 +566,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -570,7 +574,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:129](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L129) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:129](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L129) ___ @@ -582,7 +586,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -590,7 +594,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:137](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L137) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:137](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L137) ___ @@ -602,7 +606,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -610,7 +614,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:117](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L117) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:117](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L117) ___ @@ -622,7 +626,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -630,7 +634,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:133](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L133) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:133](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L133) ___ @@ -642,7 +646,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -650,7 +654,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:125](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L125) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:125](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L125) ___ @@ -662,7 +666,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -670,7 +674,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:121](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L121) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:121](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L121) ___ @@ -682,7 +686,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`MouseEvent`\> | +| `event` | `KonvaEventObject`\<`MouseEvent`\> | #### Returns @@ -690,4 +694,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:109](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L109) +[projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts:109](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-mouse.directive.ts#L109) diff --git a/docs/classes/KoNestable.md b/docs/classes/KoNestable.md index e78fa4a..c056d4f 100644 --- a/docs/classes/KoNestable.md +++ b/docs/classes/KoNestable.md @@ -51,7 +51,11 @@ ### constructor -• **new KoNestable**() +• **new KoNestable**(): [`KoNestable`](KoNestable.md) + +#### Returns + +[`KoNestable`](KoNestable.md) ## Properties @@ -61,7 +65,7 @@ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:36](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L36) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:36](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L36) ___ @@ -71,7 +75,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) ___ @@ -81,7 +85,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) ___ @@ -91,7 +95,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) ___ @@ -101,7 +105,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) ___ @@ -111,37 +115,37 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) ___ ### transitionOnFinish -• **transitionOnFinish**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnFinish**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) ___ ### transitionOnUpdate -• **transitionOnUpdate**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnUpdate**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) ___ ### transitionWith -• `Optional` **transitionWith**: `Omit`<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> +• `Optional` **transitionWith**: `Omit`\<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) ___ @@ -172,7 +176,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) ## Methods @@ -186,7 +190,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:38](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L38) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:38](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L38) ___ @@ -204,7 +208,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) ___ @@ -222,7 +226,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L42) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:42](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L42) ___ @@ -242,4 +246,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) diff --git a/docs/classes/KoPointerDirective.md b/docs/classes/KoPointerDirective.md index 6fd00fb..84f5557 100644 --- a/docs/classes/KoPointerDirective.md +++ b/docs/classes/KoPointerDirective.md @@ -59,7 +59,7 @@ ### constructor -• **new KoPointerDirective**(`nestable`, `stage`) +• **new KoPointerDirective**(`nestable`, `stage`): [`KoPointerDirective`](KoPointerDirective.md) #### Parameters @@ -68,9 +68,13 @@ | `nestable` | [`KoNestable`](KoNestable.md) | | `stage` | [`KoStageComponent`](KoStageComponent.md) | +#### Returns + +[`KoPointerDirective`](KoPointerDirective.md) + #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:58](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L58) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:58](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L58) ## Properties @@ -80,107 +84,107 @@ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L42) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:42](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L42) ___ ### koPointerCancel -• **koPointerCancel**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerCancel**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L21) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L21) ___ ### koPointerClick -• **koPointerClick**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerClick**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L36) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L36) ___ ### koPointerDblClick -• **koPointerDblClick**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerDblClick**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L39) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L39) ___ ### koPointerDown -• **koPointerDown**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerDown**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:12](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L12) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:12](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L12) ___ ### koPointerEnter -• **koPointerEnter**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerEnter**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L27) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L27) ___ ### koPointerLeave -• **koPointerLeave**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerLeave**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:33](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L33) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:33](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L33) ___ ### koPointerMove -• **koPointerMove**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerMove**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L15) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L15) ___ ### koPointerOut -• **koPointerOut**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerOut**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L30) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L30) ___ ### koPointerOver -• **koPointerOver**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerOver**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L24) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L24) ___ ### koPointerUp -• **koPointerUp**: `EventEmitter`<`KonvaEventObject`<`PointerEvent`\>\> +• **koPointerUp**: `EventEmitter`\<`KonvaEventObject`\<`PointerEvent`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L18) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L18) ___ @@ -190,13 +194,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:44](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L44) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:44](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L44) ___ ### onPointerCancelListener -• **onPointerCancelListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerCancelListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -206,7 +210,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -214,13 +218,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L49) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L49) ___ ### onPointerClickListener -• **onPointerClickListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerClickListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -230,7 +234,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -238,13 +242,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:54](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L54) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L54) ___ ### onPointerDblClickListener -• **onPointerDblClickListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerDblClickListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -254,7 +258,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -262,13 +266,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:55](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L55) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:55](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L55) ___ ### onPointerDownListener -• **onPointerDownListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerDownListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -278,7 +282,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -286,13 +290,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L46) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L46) ___ ### onPointerEnterListener -• **onPointerEnterListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerEnterListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -302,7 +306,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -310,13 +314,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:51](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L51) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:51](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L51) ___ ### onPointerLeaveListener -• **onPointerLeaveListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerLeaveListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -326,7 +330,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -334,13 +338,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:53](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L53) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:53](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L53) ___ ### onPointerMoveListener -• **onPointerMoveListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerMoveListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -350,7 +354,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -358,13 +362,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:47](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L47) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:47](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L47) ___ ### onPointerOutListener -• **onPointerOutListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerOutListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -374,7 +378,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -382,13 +386,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L52) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L52) ___ ### onPointerOverListener -• **onPointerOverListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerOverListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -398,7 +402,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -406,13 +410,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:50](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L50) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:50](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L50) ___ ### onPointerUpListener -• **onPointerUpListener**: (`event`: `KonvaEventObject`<`PointerEvent`\>) => `void` +• **onPointerUpListener**: (`event`: `KonvaEventObject`\<`PointerEvent`\>) => `void` #### Type declaration @@ -422,7 +426,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | ##### Returns @@ -430,7 +434,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:48](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L48) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:48](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L48) ___ @@ -440,7 +444,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:41](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L41) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:41](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L41) ## Methods @@ -454,7 +458,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:92](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L92) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:92](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L92) ___ @@ -472,7 +476,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:74](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L74) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:74](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L74) ___ @@ -490,7 +494,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:71](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L71) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:71](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L71) ___ @@ -502,7 +506,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -510,7 +514,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:121](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L121) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:121](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L121) ___ @@ -522,7 +526,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -530,7 +534,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:141](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L141) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:141](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L141) ___ @@ -542,7 +546,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -550,7 +554,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:145](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L145) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:145](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L145) ___ @@ -562,7 +566,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -570,7 +574,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:109](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L109) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:109](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L109) ___ @@ -582,7 +586,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -590,7 +594,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:129](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L129) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:129](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L129) ___ @@ -602,7 +606,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -610,7 +614,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:137](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L137) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:137](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L137) ___ @@ -622,7 +626,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -630,7 +634,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:113](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L113) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:113](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L113) ___ @@ -642,7 +646,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -650,7 +654,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:133](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L133) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:133](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L133) ___ @@ -662,7 +666,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -670,7 +674,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:125](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L125) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:125](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L125) ___ @@ -682,7 +686,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`PointerEvent`\> | +| `event` | `KonvaEventObject`\<`PointerEvent`\> | #### Returns @@ -690,4 +694,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:117](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L117) +[projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts:117](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-pointer.directive.ts#L117) diff --git a/docs/classes/KoShapeComponent.md b/docs/classes/KoShapeComponent.md index 6699be9..3cc52a1 100644 --- a/docs/classes/KoShapeComponent.md +++ b/docs/classes/KoShapeComponent.md @@ -57,23 +57,27 @@ ### constructor -• **new KoShapeComponent**(`elementRef`, `layerComponent`, `groupComponent`) +• **new KoShapeComponent**(`elementRef`, `layerComponent`, `groupComponent`): [`KoShapeComponent`](KoShapeComponent.md) #### Parameters | Name | Type | | :------ | :------ | -| `elementRef` | `ElementRef`<`HTMLElement`\> | +| `elementRef` | `ElementRef`\<`HTMLElement`\> | | `layerComponent` | [`KoLayerComponent`](KoLayerComponent.md) | | `groupComponent` | [`KoGroupComponent`](KoGroupComponent.md) | +#### Returns + +[`KoShapeComponent`](KoShapeComponent.md) + #### Overrides [KoNestable](KoNestable.md).[constructor](KoNestable.md#constructor) #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:40](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L40) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:45](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L45) ## Properties @@ -83,7 +87,7 @@ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:19](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L19) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:20](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L20) ___ @@ -97,7 +101,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L34) ___ @@ -111,27 +115,27 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L35) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<[`KoShape`](../modules.md#koshape)\> +• **afterUpdate**: `EventEmitter`\<[`KoShape`](../modules.md#koshape)\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:36](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L36) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L41) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<[`KoShape`](../modules.md#koshape)\> +• **beforeUpdate**: `EventEmitter`\<[`KoShape`](../modules.md#koshape)\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:33](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L33) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:38](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L38) ___ @@ -141,17 +145,17 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L30) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L35) ___ ### elementRef -• `Private` **elementRef**: `ElementRef`<`HTMLElement`\> +• `Private` **elementRef**: `ElementRef`\<`HTMLElement`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L41) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:46](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L46) ___ @@ -161,7 +165,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L43) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:48](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L48) ___ @@ -175,7 +179,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L18) ___ @@ -185,7 +189,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:42](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L42) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:47](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L47) ___ @@ -195,7 +199,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:38](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L38) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L43) ___ @@ -205,7 +209,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:17](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L17) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L18) ___ @@ -219,7 +223,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L32) ___ @@ -233,13 +237,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L24) ___ ### transitionOnFinish -• **transitionOnFinish**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnFinish**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -247,13 +251,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L30) ___ ### transitionOnUpdate -• **transitionOnUpdate**: `EventEmitter`<[`KoNestableNode`](../modules.md#konestablenode)\> +• **transitionOnUpdate**: `EventEmitter`\<[`KoNestableNode`](../modules.md#konestablenode)\> #### Inherited from @@ -261,13 +265,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L27) ___ ### transitionWith -• `Optional` **transitionWith**: `Omit`<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> +• `Optional` **transitionWith**: `Omit`\<`TweenConfig`, ``"onFinish"`` \| ``"onUpdate"`` \| ``"node"``\> #### Inherited from @@ -275,7 +279,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L21) ___ @@ -310,7 +314,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L15) ## Accessors @@ -330,13 +334,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L23) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L24) ## Methods ### \_afterRender -▸ `Private` **_afterRender**(): `void` +▸ **_afterRender**(): `void` #### Returns @@ -344,13 +348,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:73](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L73) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:78](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L78) ___ ### \_beforeRender -▸ `Private` **_beforeRender**(): `void` +▸ **_beforeRender**(): `void` #### Returns @@ -358,7 +362,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:69](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L69) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:74](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L74) ___ @@ -376,7 +380,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:59](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L59) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L64) ___ @@ -394,7 +398,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:44](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L44) ___ @@ -416,7 +420,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:55](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L55) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:60](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L60) ___ @@ -440,13 +444,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:49](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L49) ___ ### updateShape -▸ `Private` **updateShape**(): `void` +▸ **updateShape**(): `void` #### Returns @@ -454,4 +458,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-shape.component.ts:63](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L63) +[projects/ngx-konva/src/lib/components/ko-shape.component.ts:68](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-shape.component.ts#L68) diff --git a/docs/classes/KoStageAutoScaleComponent.md b/docs/classes/KoStageAutoScaleComponent.md index 07380dc..86630fb 100644 --- a/docs/classes/KoStageAutoScaleComponent.md +++ b/docs/classes/KoStageAutoScaleComponent.md @@ -53,38 +53,42 @@ ### constructor -• **new KoStageAutoScaleComponent**(`parentContainer`, `cdRef`) +• **new KoStageAutoScaleComponent**(`parentContainer`, `cdRef`): [`KoStageAutoScaleComponent`](KoStageAutoScaleComponent.md) #### Parameters | Name | Type | | :------ | :------ | -| `parentContainer` | `ElementRef`<`HTMLDivElement`\> | +| `parentContainer` | `ElementRef`\<`HTMLDivElement`\> | | `cdRef` | `ChangeDetectorRef` | +#### Returns + +[`KoStageAutoScaleComponent`](KoStageAutoScaleComponent.md) + #### Overrides [KoStageComponent](KoStageComponent.md).[constructor](KoStageComponent.md#constructor) #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:30](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L30) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:30](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L30) ## Properties ### \_additionalScale -• `Private` **\_additionalScale**: `number` \| { `x`: `number` ; `y`: `number` } = `1` +• `Private` **\_additionalScale**: `number` \| \{ `x`: `number` ; `y`: `number` } = `1` #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:17](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L17) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:17](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L17) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<`Stage`\> +• **afterUpdate**: `EventEmitter`\<`Stage`\> #### Inherited from @@ -92,13 +96,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L21) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L21) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<`Stage`\> +• **beforeUpdate**: `EventEmitter`\<`Stage`\> #### Inherited from @@ -106,7 +110,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L18) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L18) ___ @@ -116,13 +120,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:32](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L32) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L32) ___ ### container -• **container**: `ElementRef`<`any`\> +• **container**: `ElementRef`\<`any`\> #### Inherited from @@ -130,33 +134,33 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:14](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L14) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:14](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L14) ___ ### initDimensions -• **initDimensions**: `EventEmitter`<{ `height`: `number` ; `width`: `number` }\> +• **initDimensions**: `EventEmitter`\<\{ `height`: `number` ; `width`: `number` }\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:28](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L28) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:28](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L28) ___ ### initialDimensions -• `Private` **initialDimensions**: ``null`` \| { `height`: `number` ; `width`: `number` } = `null` +• `Private` **initialDimensions**: ``null`` \| \{ `height`: `number` ; `width`: `number` } = `null` #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:14](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L14) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:14](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L14) ___ ### onNewLayer -• **onNewLayer**: `EventEmitter`<`Layer`\> +• **onNewLayer**: `EventEmitter`\<`Layer`\> #### Inherited from @@ -164,17 +168,17 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L24) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L24) ___ ### parentContainer -• `Private` **parentContainer**: `ElementRef`<`HTMLDivElement`\> +• `Private` **parentContainer**: `ElementRef`\<`HTMLDivElement`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:31](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L31) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:31](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L31) ___ @@ -184,7 +188,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L15) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L15) ___ @@ -198,21 +202,21 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L15) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L15) ## Accessors ### additionalScale -• `get` **additionalScale**(): `number` \| { `x`: `number` ; `y`: `number` } +• `get` **additionalScale**(): `number` \| \{ `x`: `number` ; `y`: `number` } #### Returns -`number` \| { `x`: `number` ; `y`: `number` } +`number` \| \{ `x`: `number` ; `y`: `number` } #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L23) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L23) • `set` **additionalScale**(`s`): `void` @@ -220,7 +224,7 @@ ___ | Name | Type | | :------ | :------ | -| `s` | `number` \| { `x`: `number` ; `y`: `number` } | +| `s` | `number` \| \{ `x`: `number` ; `y`: `number` } | #### Returns @@ -228,7 +232,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:19](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L19) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:19](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L19) ___ @@ -246,7 +250,7 @@ KoStageComponent.config #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:37](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L37) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:37](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L37) • `set` **config**(`c`): `void` @@ -266,7 +270,7 @@ KoStageComponent.config #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:29](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L29) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:29](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L29) ## Methods @@ -290,7 +294,7 @@ KoStageComponent.config #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L64) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L64) ___ @@ -308,7 +312,7 @@ AfterContentInit.ngAfterContentInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L54) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L54) ___ @@ -326,7 +330,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:56](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L56) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:56](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L56) ___ @@ -348,7 +352,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:58](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L58) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:58](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L58) ___ @@ -370,13 +374,13 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:50](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L50) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:50](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L50) ___ ### onResize -▸ `Private` **onResize**(): `void` +▸ **onResize**(): `void` #### Returns @@ -384,13 +388,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:63](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L63) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:63](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L63) ___ ### scaleStage -▸ `Private` **scaleStage**(): `void` +▸ **scaleStage**(): `void` #### Returns @@ -398,4 +402,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:67](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L67) +[projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts:67](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage-autoscale.component.ts#L67) diff --git a/docs/classes/KoStageComponent.md b/docs/classes/KoStageComponent.md index d097d99..2f110a2 100644 --- a/docs/classes/KoStageComponent.md +++ b/docs/classes/KoStageComponent.md @@ -46,17 +46,21 @@ ### constructor -• **new KoStageComponent**(`container`) +• **new KoStageComponent**(`container`): [`KoStageComponent`](KoStageComponent.md) #### Parameters | Name | Type | | :------ | :------ | -| `container` | `ElementRef`<`any`\> | +| `container` | `ElementRef`\<`any`\> | + +#### Returns + +[`KoStageComponent`](KoStageComponent.md) #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L43) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:43](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L43) ## Properties @@ -66,47 +70,47 @@ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:26](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L26) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:26](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L26) ___ ### afterUpdate -• **afterUpdate**: `EventEmitter`<`Stage`\> +• **afterUpdate**: `EventEmitter`\<`Stage`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L21) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L21) ___ ### beforeUpdate -• **beforeUpdate**: `EventEmitter`<`Stage`\> +• **beforeUpdate**: `EventEmitter`\<`Stage`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L18) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L18) ___ ### container -• **container**: `ElementRef`<`any`\> +• **container**: `ElementRef`\<`any`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:14](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L14) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:14](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L14) ___ ### onNewLayer -• **onNewLayer**: `EventEmitter`<`Layer`\> +• **onNewLayer**: `EventEmitter`\<`Layer`\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L24) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L24) ___ @@ -116,7 +120,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:15](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L15) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L15) ___ @@ -126,7 +130,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L41) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:41](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L41) ## Accessors @@ -140,7 +144,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:37](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L37) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:37](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L37) • `set` **config**(`c`): `void` @@ -156,7 +160,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:29](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L29) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:29](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L29) ## Methods @@ -176,7 +180,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L64) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:64](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L64) ___ @@ -194,7 +198,7 @@ AfterViewInit.ngAfterViewInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:56](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L56) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:56](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L56) ___ @@ -212,7 +216,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:59](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L59) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:59](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L59) ___ @@ -230,13 +234,13 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L54) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L54) ___ ### updateStage -▸ `Private` **updateStage**(): `void` +▸ **updateStage**(): `void` #### Returns @@ -244,4 +248,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:76](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L76) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:76](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L76) diff --git a/docs/classes/KoTouchDirective.md b/docs/classes/KoTouchDirective.md index 5322304..1bf6309 100644 --- a/docs/classes/KoTouchDirective.md +++ b/docs/classes/KoTouchDirective.md @@ -44,7 +44,7 @@ ### constructor -• **new KoTouchDirective**(`nestable`, `stage`) +• **new KoTouchDirective**(`nestable`, `stage`): [`KoTouchDirective`](KoTouchDirective.md) #### Parameters @@ -53,9 +53,13 @@ | `nestable` | [`KoNestable`](KoNestable.md) | | `stage` | [`KoStageComponent`](KoStageComponent.md) | +#### Returns + +[`KoTouchDirective`](KoTouchDirective.md) + #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:38 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:38](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L38) ## Properties @@ -65,57 +69,57 @@ projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:38 #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:27 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:27](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L27) ___ ### koTouchDblTap -• **koTouchDblTap**: `EventEmitter`<`KonvaEventObject`<`TouchEvent`\>\> +• **koTouchDblTap**: `EventEmitter`\<`KonvaEventObject`\<`TouchEvent`\>\> #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:24 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:24](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L24) ___ ### koTouchEnd -• **koTouchEnd**: `EventEmitter`<`KonvaEventObject`<`TouchEvent`\>\> +• **koTouchEnd**: `EventEmitter`\<`KonvaEventObject`\<`TouchEvent`\>\> #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:18 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L18) ___ ### koTouchMove -• **koTouchMove**: `EventEmitter`<`KonvaEventObject`<`TouchEvent`\>\> +• **koTouchMove**: `EventEmitter`\<`KonvaEventObject`\<`TouchEvent`\>\> #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:15 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:15](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L15) ___ ### koTouchStart -• **koTouchStart**: `EventEmitter`<`KonvaEventObject`<`TouchEvent`\>\> +• **koTouchStart**: `EventEmitter`\<`KonvaEventObject`\<`TouchEvent`\>\> #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:12 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:12](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L12) ___ ### koTouchTap -• **koTouchTap**: `EventEmitter`<`KonvaEventObject`<`TouchEvent`\>\> +• **koTouchTap**: `EventEmitter`\<`KonvaEventObject`\<`TouchEvent`\>\> #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:21 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L21) ___ @@ -125,13 +129,13 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:29 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:29](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L29) ___ ### onTouchDblTapListener -• **onTouchDblTapListener**: (`event`: `KonvaEventObject`<`TouchEvent`\>) => `void` +• **onTouchDblTapListener**: (`event`: `KonvaEventObject`\<`TouchEvent`\>) => `void` #### Type declaration @@ -141,7 +145,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | ##### Returns @@ -149,13 +153,13 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:35 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:35](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L35) ___ ### onTouchEndListener -• **onTouchEndListener**: (`event`: `KonvaEventObject`<`TouchEvent`\>) => `void` +• **onTouchEndListener**: (`event`: `KonvaEventObject`\<`TouchEvent`\>) => `void` #### Type declaration @@ -165,7 +169,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | ##### Returns @@ -173,13 +177,13 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:33 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:33](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L33) ___ ### onTouchMoveListener -• **onTouchMoveListener**: (`event`: `KonvaEventObject`<`TouchEvent`\>) => `void` +• **onTouchMoveListener**: (`event`: `KonvaEventObject`\<`TouchEvent`\>) => `void` #### Type declaration @@ -189,7 +193,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | ##### Returns @@ -197,13 +201,13 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:32 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:32](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L32) ___ ### onTouchStartListener -• **onTouchStartListener**: (`event`: `KonvaEventObject`<`TouchEvent`\>) => `void` +• **onTouchStartListener**: (`event`: `KonvaEventObject`\<`TouchEvent`\>) => `void` #### Type declaration @@ -213,7 +217,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | ##### Returns @@ -221,13 +225,13 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:31 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:31](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L31) ___ ### onTouchTapListener -• **onTouchTapListener**: (`event`: `KonvaEventObject`<`TouchEvent`\>) => `void` +• **onTouchTapListener**: (`event`: `KonvaEventObject`\<`TouchEvent`\>) => `void` #### Type declaration @@ -237,7 +241,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | ##### Returns @@ -245,7 +249,7 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:34 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:34](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L34) ___ @@ -255,7 +259,7 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:26 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:26](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L26) ## Methods @@ -269,7 +273,7 @@ projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:26 #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:67 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:67](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L67) ___ @@ -287,7 +291,7 @@ OnDestroy.ngOnDestroy #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:54 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:54](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L54) ___ @@ -305,7 +309,7 @@ OnInit.ngOnInit #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:51 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:51](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L51) ___ @@ -317,7 +321,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | #### Returns @@ -325,7 +329,7 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:94 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:94](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L94) ___ @@ -337,7 +341,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | #### Returns @@ -345,7 +349,7 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:86 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:86](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L86) ___ @@ -357,7 +361,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | #### Returns @@ -365,7 +369,7 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:82 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:82](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L82) ___ @@ -377,7 +381,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | #### Returns @@ -385,7 +389,7 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:78 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:78](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L78) ___ @@ -397,7 +401,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`TouchEvent`\> | +| `event` | `KonvaEventObject`\<`TouchEvent`\> | #### Returns @@ -405,4 +409,4 @@ ___ #### Defined in -projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:90 +[projects/ngx-konva/src/lib/directives/ko-touch.directive.ts:90](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-touch.directive.ts#L90) diff --git a/docs/classes/KoTransformDirective.md b/docs/classes/KoTransformDirective.md index e3525d4..df69fd7 100644 --- a/docs/classes/KoTransformDirective.md +++ b/docs/classes/KoTransformDirective.md @@ -36,7 +36,7 @@ ### constructor -• **new KoTransformDirective**(`nestable`) +• **new KoTransformDirective**(`nestable`): [`KoTransformDirective`](KoTransformDirective.md) #### Parameters @@ -44,39 +44,43 @@ | :------ | :------ | | `nestable` | [`KoNestable`](KoNestable.md) | +#### Returns + +[`KoTransformDirective`](KoTransformDirective.md) + #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:25](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L25) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:25](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L25) ## Properties ### koTransform -• **koTransform**: `EventEmitter`<`KonvaEventObject`<`any`\>\> +• **koTransform**: `EventEmitter`\<`KonvaEventObject`\<`any`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:14](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L14) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:14](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L14) ___ ### koTransformEnd -• **koTransformEnd**: `EventEmitter`<`KonvaEventObject`<`any`\>\> +• **koTransformEnd**: `EventEmitter`\<`KonvaEventObject`\<`any`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:17](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L17) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:17](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L17) ___ ### koTransformStart -• **koTransformStart**: `EventEmitter`<`KonvaEventObject`<`any`\>\> +• **koTransformStart**: `EventEmitter`\<`KonvaEventObject`\<`any`\>\> #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:11](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L11) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:11](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L11) ___ @@ -86,13 +90,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:19](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L19) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:19](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L19) ___ ### onTranformListener -• **onTranformListener**: (`event`: `KonvaEventObject`<`any`\>) => `void` +• **onTranformListener**: (`event`: `KonvaEventObject`\<`any`\>) => `void` #### Type declaration @@ -102,7 +106,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`any`\> | +| `event` | `KonvaEventObject`\<`any`\> | ##### Returns @@ -110,13 +114,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:23](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L23) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:23](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L23) ___ ### onTransformEndListener -• **onTransformEndListener**: (`event`: `KonvaEventObject`<`any`\>) => `void` +• **onTransformEndListener**: (`event`: `KonvaEventObject`\<`any`\>) => `void` #### Type declaration @@ -126,7 +130,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`any`\> | +| `event` | `KonvaEventObject`\<`any`\> | ##### Returns @@ -134,13 +138,13 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:22](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L22) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:22](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L22) ___ ### onTransformStarterListener -• **onTransformStarterListener**: (`event`: `KonvaEventObject`<`any`\>) => `void` +• **onTransformStarterListener**: (`event`: `KonvaEventObject`\<`any`\>) => `void` #### Type declaration @@ -150,7 +154,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`any`\> | +| `event` | `KonvaEventObject`\<`any`\> | ##### Returns @@ -158,7 +162,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L21) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L21) ## Methods @@ -172,7 +176,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L46) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:46](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L46) ___ @@ -190,7 +194,7 @@ OnDestroy.ngOnDestroy #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L39) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:39](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L39) ___ @@ -208,7 +212,7 @@ OnInit.ngOnInit #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L36) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:36](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L36) ___ @@ -220,7 +224,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`any`\> | +| `event` | `KonvaEventObject`\<`any`\> | #### Returns @@ -228,7 +232,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:60](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L60) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:60](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L60) ___ @@ -240,7 +244,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`any`\> | +| `event` | `KonvaEventObject`\<`any`\> | #### Returns @@ -248,7 +252,7 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:56](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L56) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:56](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L56) ___ @@ -260,7 +264,7 @@ ___ | Name | Type | | :------ | :------ | -| `event` | `KonvaEventObject`<`any`\> | +| `event` | `KonvaEventObject`\<`any`\> | #### Returns @@ -268,4 +272,4 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L52) +[projects/ngx-konva/src/lib/directives/ko-transform.directive.ts:52](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/directives/ko-transform.directive.ts#L52) diff --git a/docs/classes/NgxKonvaModule.md b/docs/classes/NgxKonvaModule.md index a6af435..7a68e5d 100644 --- a/docs/classes/NgxKonvaModule.md +++ b/docs/classes/NgxKonvaModule.md @@ -12,4 +12,8 @@ ### constructor -• **new NgxKonvaModule**() +• **new NgxKonvaModule**(): [`NgxKonvaModule`](NgxKonvaModule.md) + +#### Returns + +[`NgxKonvaModule`](NgxKonvaModule.md) diff --git a/docs/modules.md b/docs/modules.md index c17e7c1..8367ee5 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -42,21 +42,21 @@ ### KoImageConfig -Ƭ **KoImageConfig**: `Omit`<`ImageConfig`, ``"image"``\> +Ƭ **KoImageConfig**: `Omit`\<`ImageConfig`, ``"image"``\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-image.component.ts:8](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-image.component.ts#L8) +[projects/ngx-konva/src/lib/components/ko-image.component.ts:9](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-image.component.ts#L9) ___ ### KoNestableConfig -Ƭ **KoNestableConfig**: [`KoShapeConfig`](modules.md#koshapeconfig) \| `GroupConfig` \| `LayerConfig` \| `LabelConfig` & { `_skipTransition?`: `boolean` } +Ƭ **KoNestableConfig**: [`KoShapeConfig`](modules.md#koshapeconfig) \| `GroupConfig` \| `LayerConfig` \| `LabelConfig` & \{ `_skipTransition?`: `boolean` } #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:11](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L11) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:11](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L11) ___ @@ -66,27 +66,27 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/ko-nestable.ts:10](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/ko-nestable.ts#L10) +[projects/ngx-konva/src/lib/common/ko-nestable.ts:10](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/ko-nestable.ts#L10) ___ ### KoShape -Ƭ **KoShape**: `InstanceType`<[`KoShapeType`](modules.md#koshapetype)\> +Ƭ **KoShape**: `InstanceType`\<[`KoShapeType`](modules.md#koshapetype)\> #### Defined in -[projects/ngx-konva/src/lib/common/index.ts:21](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/index.ts#L21) +[projects/ngx-konva/src/lib/common/index.ts:21](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/index.ts#L21) ___ ### KoShapeConfig -Ƭ **KoShapeConfig**: `RectConfig` \| `CircleConfig` \| `LineConfig` \| `TextConfig` \| `RegularPolygonConfig` \| `PathConfig` \| `ArrowConfig` \| `ArcConfig` \| `StarConfig` \| `RingConfig` \| `ShapeConfig` \| `TextPathConfig` \| `EllipseConfig` \| `WedgeConfig` & { `_skipTransition?`: `boolean` } +Ƭ **KoShapeConfig**: `RectConfig` \| `CircleConfig` \| `LineConfig` \| `TextConfig` \| `RegularPolygonConfig` \| `PathConfig` \| `ArrowConfig` \| `ArcConfig` \| `StarConfig` \| `RingConfig` \| `ShapeConfig` \| `TextPathConfig` \| `EllipseConfig` \| `WedgeConfig` & \{ `_skipTransition?`: `boolean` } #### Defined in -[projects/ngx-konva/src/lib/common/index.ts:17](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/index.ts#L17) +[projects/ngx-konva/src/lib/common/index.ts:17](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/index.ts#L17) ___ @@ -96,17 +96,17 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/index.ts:18](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/index.ts#L18) +[projects/ngx-konva/src/lib/common/index.ts:18](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/index.ts#L18) ___ ### KoShapeSelectors -Ƭ **KoShapeSelectors**: \`ko-${KoShapeNames}\` +Ƭ **KoShapeSelectors**: \`ko-$\{KoShapeNames}\` #### Defined in -[projects/ngx-konva/src/lib/common/index.ts:19](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/index.ts#L19) +[projects/ngx-konva/src/lib/common/index.ts:19](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/index.ts#L19) ___ @@ -116,24 +116,24 @@ ___ #### Defined in -[projects/ngx-konva/src/lib/common/index.ts:20](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/index.ts#L20) +[projects/ngx-konva/src/lib/common/index.ts:20](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/index.ts#L20) ___ ### StageConfigOptionalContainer -Ƭ **StageConfigOptionalContainer**: `Omit`<`StageConfig`, ``"container"``\> & `Partial`<`Pick`<`StageConfig`, ``"container"``\>\> +Ƭ **StageConfigOptionalContainer**: `Omit`\<`StageConfig`, ``"container"``\> & `Partial`\<`Pick`\<`StageConfig`, ``"container"``\>\> #### Defined in -[projects/ngx-konva/src/lib/components/ko-stage.component.ts:6](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L6) +[projects/ngx-konva/src/lib/components/ko-stage.component.ts:6](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/components/ko-stage.component.ts#L6) ## Variables ### koShapeTypesMap -• `Const` **koShapeTypesMap**: { [key in KoShapeSelectors]: KoShapeType \| Shape } +• `Const` **koShapeTypesMap**: \{ [key in KoShapeSelectors]: KoShapeType \| Shape } #### Defined in -[projects/ngx-konva/src/lib/common/index.ts:22](https://github.com/ctinnovation/ngx-konva/blob/bd353eb/projects/ngx-konva/src/lib/common/index.ts#L22) +[projects/ngx-konva/src/lib/common/index.ts:22](https://github.com/ctinnovation/ngx-konva/blob/8f9d365/projects/ngx-konva/src/lib/common/index.ts#L22) diff --git a/package-lock.json b/package-lock.json index fbaeef2..3d3b52d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", - "konva": "^9.2.2", + "konva": "^9.2.3", "lodash": "^4.17.21", "rxjs": "~7.8.0", "tslib": "^2.3.0", @@ -39,8 +39,8 @@ "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "ng-packagr": "^16.2.0", - "typedoc": "^0.25.2", - "typedoc-plugin-markdown": "^3.16.0", + "typedoc": "^0.25.11", + "typedoc-plugin-markdown": "^3.17.1", "typescript": "~5.1.3" } }, @@ -7944,9 +7944,9 @@ } }, "node_modules/konva": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/konva/-/konva-9.2.2.tgz", - "integrity": "sha512-Gyn5hQa/5+8pJvTn/IVyZWgum2otWXszuVCG/cevkAyKUFcmFv4tGbQhHFGtJPLQkGO+W6xfgRzyYIkNgKnPxA==", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/konva/-/konva-9.2.3.tgz", + "integrity": "sha512-oQ6VQ6kUL9IlhOGuEKKhxqnv6g/t8jZpVuWahQQ6hCqAsO8Ydi1zFGv7ef4EOq5GoPNq/d6Fyj/3i5Y/a5NooA==", "funding": [ { "type": "patreon", @@ -11439,9 +11439,9 @@ } }, "node_modules/shiki": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.5.tgz", - "integrity": "sha512-1gCAYOcmCFONmErGTrS1fjzJLA7MGZmKzrBNX7apqSwhyITJg2O102uFzXUeBxNnEkDA9vHIKLyeKq0V083vIw==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz", + "integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==", "dev": true, "dependencies": { "ansi-sequence-parser": "^1.1.0", @@ -12237,15 +12237,15 @@ "dev": true }, "node_modules/typedoc": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.2.tgz", - "integrity": "sha512-286F7BeATBiWe/qC4PCOCKlSTwfnsLbC/4cZ68oGBbvAqb9vV33quEOXx7q176OXotD+JdEerdQ1OZGJ818lnA==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.11.tgz", + "integrity": "sha512-5MbI1W/FOG6oXsd8bdssQidSTeKh8Kt3xA5uKVzI+K99uzP8EGN45uPnPvQesyaWdD+89s4wCQdtWEd8QUbiRg==", "dev": true, "dependencies": { "lunr": "^2.3.9", "marked": "^4.3.0", "minimatch": "^9.0.3", - "shiki": "^0.14.1" + "shiki": "^0.14.7" }, "bin": { "typedoc": "bin/typedoc" @@ -12254,13 +12254,13 @@ "node": ">= 16" }, "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x" + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x" } }, "node_modules/typedoc-plugin-markdown": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.16.0.tgz", - "integrity": "sha512-eeiC78fDNGFwemPIHiwRC+mEC7W5jwt3fceUev2gJ2nFnXpVHo8eRrpC9BLWZDee6ehnz/sPmNjizbXwpfaTBw==", + "version": "3.17.1", + "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.17.1.tgz", + "integrity": "sha512-QzdU3fj0Kzw2XSdoL15ExLASt2WPqD7FbLeaqwT70+XjKyTshBnUlQA5nNREO1C2P8Uen0CDjsBLMsCQ+zd0lw==", "dev": true, "dependencies": { "handlebars": "^4.7.7" diff --git a/package.json b/package.json index bbe9bd5..44c751d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test", - "docs": "typedoc --plugin typedoc-plugin-markdown --out docs projects/ngx-konva/src/public-api.ts", + "docs": "typedoc --plugin typedoc-plugin-markdown --exclude \"konva/*\" --out docs projects/ngx-konva/src/public-api.ts", "version": "git branch -D 'release_'$npm_package_version || true && git checkout -b 'release_'$npm_package_version && changescribe && git add .", "postversion": "git commit -mv$npm_package_version && git push --set-upstream origin 'release_'$npm_package_version" }, @@ -34,7 +34,7 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", - "konva": "^9.2.2", + "konva": "^9.2.3", "lodash": "^4.17.21", "rxjs": "~7.8.0", "tslib": "^2.3.0", @@ -56,8 +56,8 @@ "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "ng-packagr": "^16.2.0", - "typedoc": "^0.25.2", - "typedoc-plugin-markdown": "^3.16.0", + "typedoc": "^0.25.11", + "typedoc-plugin-markdown": "^3.17.1", "typescript": "~5.1.3" } } diff --git a/projects/ngx-konva/package.json b/projects/ngx-konva/package.json index 9ec1a78..6a2e034 100644 --- a/projects/ngx-konva/package.json +++ b/projects/ngx-konva/package.json @@ -17,7 +17,7 @@ "peerDependencies": { "@angular/common": "^16.2.0", "@angular/core": "^16.2.0", - "konva": "^9.2.2" + "konva": "^9.2.3" }, "dependencies": { "lodash": "^4.17.21", @@ -25,4 +25,4 @@ "uuid": "^9.0.1" }, "sideEffects": false -} +} \ No newline at end of file diff --git a/projects/ngx-konva/src/lib/components/ko-image.component.ts b/projects/ngx-konva/src/lib/components/ko-image.component.ts index 4c3f621..169d6ac 100644 --- a/projects/ngx-konva/src/lib/components/ko-image.component.ts +++ b/projects/ngx-konva/src/lib/components/ko-image.component.ts @@ -1,5 +1,6 @@ import { Component, EventEmitter, Input, OnInit, Optional, Output } from '@angular/core'; import { ImageConfig, Image as KonvaImage } from 'konva/lib/shapes/Image'; +import { isEqual } from 'lodash'; import { KoShape } from '../common'; import { KoNestable, KoNestableConfig } from '../common/ko-nestable'; import { KoGroupComponent } from './ko-group.component'; @@ -24,6 +25,10 @@ export class KoImageComponent extends KoNestable implements OnInit { private _src: string = ''; @Input() set src(s: string) { + if (s === this._src) { + return; + } + this._src = s; this.updateShape(); }; @@ -33,6 +38,10 @@ export class KoImageComponent extends KoNestable implements OnInit { }; @Input() set config(c: KoNestableConfig) { + if (isEqual(this._config, c)) { + return; + } + this._config = c; this._config['id'] = this.id; this.updateShape(); diff --git a/projects/ngx-konva/src/lib/components/ko-shape.component.ts b/projects/ngx-konva/src/lib/components/ko-shape.component.ts index 09484c7..41c06bc 100644 --- a/projects/ngx-konva/src/lib/components/ko-shape.component.ts +++ b/projects/ngx-konva/src/lib/components/ko-shape.component.ts @@ -1,4 +1,5 @@ import { Component, ElementRef, EventEmitter, Input, OnInit, Optional, Output } from '@angular/core'; +import { isEqual } from 'lodash'; import { KoShape, KoShapeConfig, KoShapeSelectors, koShapeTypesMap } from '../common'; import { KoNestable } from '../common/ko-nestable'; import { KoGroupComponent } from './ko-group.component'; @@ -21,6 +22,10 @@ export class KoShapeComponent extends KoNestable implements OnInit { }; @Input() set config(c: KoShapeConfig) { + if (isEqual(c, this._config)) { + return; + } + this._config = c; this._config.id = this.id; this.updateShape(); diff --git a/unreleased/BC-326.md b/unreleased/BC-326.md new file mode 100644 index 0000000..2d3358c --- /dev/null +++ b/unreleased/BC-326.md @@ -0,0 +1,4 @@ +## Changed + +- Improved config set for KoStage: ignore settings same configuration multiple times +- Keeping `konva@9.2.3` as referenced stable version \ No newline at end of file