/home/workflows/workspace/libs/common/analytics/src/lib/event/event.directive.ts
Specialized version of hraEvent that only emits keyboard events
See EventDirective
| Selector | [hraKeyboardEvent] |
| exportAs | hraKeyboardEvent |
Properties |
Methods |
Inputs |
| disabled | |
Default value : false, { alias: 'hraKeyboardEventDisabled', transform: booleanAttribute }
|
|
|
Whether this event is disabled |
|
| props | |
Type : EventPropsFor<CoreEvents['Keyboard']>
|
|
Default value : '', { alias: 'hraKeyboardEvent' }
|
|
|
Event properties |
|
| triggerOn | |
Type : EventTrigger<'keyup' | 'keydown'> | 'none' | undefined
|
|
Default value : undefined, { alias: 'hraKeyboardEventTriggerOn', }
|
|
|
keydown (default), keyup, or 'none' if events are sent programatically |
|
| logEvent | ||||||||||||||||||||
logEvent(trigger?: E, event?: EventTriggerPayloadFor
|
||||||||||||||||||||
|
Inherited from
BaseEventDirective
|
||||||||||||||||||||
|
Defined in
BaseEventDirective:68
|
||||||||||||||||||||
Type parameters :
|
||||||||||||||||||||
|
Logs an event to analytics
Parameters :
Returns :
void
|
| Readonly event |
Type : unknown
|
Default value : () => {...}
|
|
Inherited from
BaseEventDirective
|
|
Defined in
BaseEventDirective:191
|
|
Event type |
| Abstract Readonly disabled |
Type : function
|
|
Inherited from
BaseEventDirective
|
|
Defined in
BaseEventDirective:36
|
|
Whether this event is disabled |
| Abstract Readonly props |
Type : function
|
|
Inherited from
BaseEventDirective
|
|
Defined in
BaseEventDirective:32
|
|
Event properties |
| Abstract Readonly triggerOn |
Type : function
|
|
Inherited from
BaseEventDirective
|
|
Defined in
BaseEventDirective:34
|
|
Built-in trigger to log events on or 'none' if events are sent programatically |