Skip to content

Commit

Permalink
Merge pull request #22 from ctinnovation/fix/memory-leaks
Browse files Browse the repository at this point in the history
Fix/memory leaks
  • Loading branch information
giovanni-bertoncelli authored Mar 7, 2024
2 parents 92b3b3f + d7d2be1 commit be123d9
Show file tree
Hide file tree
Showing 22 changed files with 653 additions and 575 deletions.
58 changes: 31 additions & 27 deletions docs/classes/KoDragDirective.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,47 +36,51 @@

### constructor

**new KoDragDirective**(`nestable`)
**new KoDragDirective**(`nestable`): [`KoDragDirective`](KoDragDirective.md)

#### Parameters

| Name | Type |
| :------ | :------ |
| `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)

___

Expand All @@ -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

Expand All @@ -102,21 +106,21 @@ ___

| Name | Type |
| :------ | :------ |
| `event` | `KonvaEventObject`<`DragEvent`\> |
| `event` | `KonvaEventObject`\<`DragEvent`\> |

##### Returns

`void`

#### 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

Expand All @@ -126,21 +130,21 @@ ___

| Name | Type |
| :------ | :------ |
| `event` | `KonvaEventObject`<`DragEvent`\> |
| `event` | `KonvaEventObject`\<`DragEvent`\> |

##### Returns

`void`

#### 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

Expand All @@ -150,15 +154,15 @@ ___

| Name | Type |
| :------ | :------ |
| `event` | `KonvaEventObject`<`DragEvent`\> |
| `event` | `KonvaEventObject`\<`DragEvent`\> |

##### Returns

`void`

#### 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

Expand All @@ -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)

___

Expand All @@ -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)

___

Expand All @@ -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)

___

Expand All @@ -220,15 +224,15 @@ ___

| Name | Type |
| :------ | :------ |
| `event` | `KonvaEventObject`<`DragEvent`\> |
| `event` | `KonvaEventObject`\<`DragEvent`\> |

#### Returns

`void`

#### 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)

___

Expand All @@ -240,15 +244,15 @@ ___

| Name | Type |
| :------ | :------ |
| `event` | `KonvaEventObject`<`DragEvent`\> |
| `event` | `KonvaEventObject`\<`DragEvent`\> |

#### Returns

`void`

#### 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)

___

Expand All @@ -260,12 +264,12 @@ ___

| Name | Type |
| :------ | :------ |
| `event` | `KonvaEventObject`<`DragEvent`\> |
| `event` | `KonvaEventObject`\<`DragEvent`\> |

#### Returns

`void`

#### 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)
Loading

0 comments on commit be123d9

Please sign in to comment.