Skip to content

Commit 0ab2a6e

Browse files
committed
feat(core): remove NgtObjectEventsHostDirective short-cut
BREAKING CHANGE: use host directive `NgtObjectEvents` explicitly
1 parent 8f7d941 commit 0ab2a6e

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

Diff for: libs/core/src/lib/utils/object-events.ts

-50
Original file line numberDiff line numberDiff line change
@@ -67,56 +67,6 @@ export class NgtObjectEvents {
6767
}
6868
}
6969

70-
/**
71-
* @deprecated this has never worked. Use `NgtObjectEvents` and explicit value for inputs and outputs instead
72-
* @since 2.12.0 Will be removed in 3.0.0
73-
*/
74-
export const NgtObjectEventsInputs = ['ngtObjectEvents'];
75-
76-
/**
77-
* @deprecated this has never worked. Use `NgtObjectEvents` and explicit value for inputs and outputs instead
78-
* @since 2.12.0 Will be removed in 3.0.0
79-
*/
80-
export const NgtObjectEventsOutputs = [
81-
'click',
82-
'dblclick',
83-
'contextmenu',
84-
'pointerup',
85-
'pointerdown',
86-
'pointerover',
87-
'pointerout',
88-
'pointerenter',
89-
'pointerleave',
90-
'pointermove',
91-
'pointermissed',
92-
'pointercancel',
93-
'wheel',
94-
];
95-
96-
/**
97-
* @deprecated Use NgtObjectEventsInputs and NgtObjectEventsOutputs instead along with NgtObjectEvents
98-
* @since 2.6.0 Will be removed in 3.0.0
99-
*/
100-
export const NgtObjectEventsHostDirective = {
101-
directive: NgtObjectEvents,
102-
inputs: ['ngtObjectEvents'],
103-
outputs: [
104-
'click',
105-
'dblclick',
106-
'contextmenu',
107-
'pointerup',
108-
'pointerdown',
109-
'pointerover',
110-
'pointerout',
111-
'pointerenter',
112-
'pointerleave',
113-
'pointermove',
114-
'pointermissed',
115-
'pointercancel',
116-
'wheel',
117-
],
118-
};
119-
12070
export function injectObjectEvents(
12171
target: () => ElementRef<Object3D> | Object3D | null | undefined,
12272
events: NgtEventHandlers,

0 commit comments

Comments
 (0)