File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 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';
55import { resolveRef } from './resolve-ref' ;
66
77@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+ */
829export class NgtObjectEvents {
930 click = output < NgtThreeEvent < MouseEvent > > ( ) ;
1031 dblclick = output < NgtThreeEvent < MouseEvent > > ( ) ;
@@ -46,7 +67,16 @@ export class NgtObjectEvents {
4667 }
4768}
4869
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+ */
4974export 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+ */
5080export const NgtObjectEventsOutputs = [
5181 'click' ,
5282 'dblclick' ,
You can’t perform that action at this time.
0 commit comments