We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 192f928 commit 6d3e0edCopy full SHA for 6d3e0ed
libs/core/src/lib/utils/object-events.ts
@@ -46,6 +46,27 @@ export class NgtObjectEvents {
46
}
47
48
49
+export const NgtObjectEventsInputs = ['ngtObjectEvents'] as const;
50
+export const NgtObjectEventsOutputs = [
51
+ 'click',
52
+ 'dblclick',
53
+ 'contextmenu',
54
+ 'pointerup',
55
+ 'pointerdown',
56
+ 'pointerover',
57
+ 'pointerout',
58
+ 'pointerenter',
59
+ 'pointerleave',
60
+ 'pointermove',
61
+ 'pointermissed',
62
+ 'pointercancel',
63
+ 'wheel',
64
+] as const;
65
+
66
+/**
67
+ * @deprecated Use NgtObjectEventsInputs and NgtObjectEventsOutputs instead along with NgtObjectEvents
68
+ * @since 2.5.3. Will be removed in 3.0.0
69
+ */
70
export const NgtObjectEventsHostDirective = {
71
directive: NgtObjectEvents,
72
inputs: ['ngtObjectEvents'],
0 commit comments