File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,27 @@ import { NgtEventHandlers, NgtThreeEvent } from '../types';
5
5
import { resolveRef } from './resolve-ref' ;
6
6
7
7
@Directive ( { standalone : true , selector : '[ngtObjectEvents]' } )
8
+ /**
9
+ * As host directive:
10
+ * - outputs: [
11
+ * 'click',
12
+ * 'dblclick',
13
+ * 'contextmenu',
14
+ * 'pointerup',
15
+ * 'pointerdown',
16
+ * 'pointerover',
17
+ * 'pointerout',
18
+ * 'pointerenter',
19
+ * 'pointerleave',
20
+ * 'pointermove',
21
+ * 'pointermissed',
22
+ * 'pointercancel',
23
+ * 'wheel',
24
+ * ]
25
+ * - inputs: [
26
+ * 'ngtObjectEvents'
27
+ * ]
28
+ */
8
29
export class NgtObjectEvents {
9
30
click = output < NgtThreeEvent < MouseEvent > > ( ) ;
10
31
dblclick = output < NgtThreeEvent < MouseEvent > > ( ) ;
@@ -46,7 +67,16 @@ export class NgtObjectEvents {
46
67
}
47
68
}
48
69
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
+ */
49
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
+ */
50
80
export const NgtObjectEventsOutputs = [
51
81
'click' ,
52
82
'dblclick' ,
You can’t perform that action at this time.
0 commit comments