Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/memory leaks #22

Merged
merged 5 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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