Class: FocusEventExt<T, R>
Events.FocusEventExt
Represents a custom extended focus event.
Type parameters
Name | Type | Description |
---|---|---|
T | Object3D | The type of the primary target for the event (default is Object3D ). |
R | Object3D | The type of the related target for the event (default is Object3D ). |
Hierarchy
EventExt
<T
>↳
FocusEventExt
Constructors
constructor
• new FocusEventExt<T
, R
>(relatedTarget
)
Type parameters
Name | Type |
---|---|
T | Object3D <Object3DEventMap > |
R | Object3D <Object3DEventMap > |
Parameters
Name | Type | Description |
---|---|---|
relatedTarget | R | The secondary target for the event. |
Overrides
Defined in
Properties
cancelable
• Readonly
cancelable: any
A boolean value indicating whether the event is cancelable.
Inherited from
Defined in
currentTarget
• currentTarget: T
A reference to the currently registered target for the event. This is the object to which the event is currently slated to be sent. It's possible this has been changed along the way through retargeting.
Inherited from
Defined in
relatedTarget
• relatedTarget: R
The secondary target for the event.
Defined in
timeStamp
• Readonly
timeStamp: number
The time at which the event was created (in milliseconds). By specification, this value is time since epoch—but in reality, browsers' definitions vary. In addition, work is underway to change this to be a DOMHighResTimeStamp instead.
Inherited from
Defined in
Accessors
bubbles
• get
bubbles(): boolean
A boolean value indicating whether or not the event bubbles up through the DOM.
Returns
boolean
Inherited from
EventExt.bubbles
Defined in
defaultPrevented
• get
defaultPrevented(): boolean
Indicates whether or not the call to event.preventDefault() canceled the event.
Returns
boolean
Inherited from
EventExt.defaultPrevented
Defined in
target
• get
target(): T
A reference to the object to which the event was originally dispatched.
Returns
T
Inherited from
EventExt.target
Defined in
type
• get
type(): keyof MiscEvents
| keyof InteractionEvents
<Object3D
<Object3DEventMap
>, Object3D
<Object3DEventMap
>, Object3D
<Object3DEventMap
> | InstancedMeshEntity
> | keyof UpdateEvents
The case-insensitive name identifying the type of the event.
Returns
keyof MiscEvents
| keyof InteractionEvents
<Object3D
<Object3DEventMap
>, Object3D
<Object3DEventMap
>, Object3D
<Object3DEventMap
> | InstancedMeshEntity
> | keyof UpdateEvents
Inherited from
EventExt.type
Defined in
Methods
preventDefault
▸ preventDefault(): void
Cancels the event.
Returns
void
Inherited from
Defined in
stopImmediatePropagation
▸ stopImmediatePropagation(): void
For this particular event, prevent all other listeners from being called. This includes listeners attached to the same element as well as those attached to elements that will be traversed later (during the capture phase, for instance).
Returns
void
Inherited from
EventExt.stopImmediatePropagation
Defined in
stopPropagation
▸ stopPropagation(): void
Stops the propagation of events further along in the Object3D hierarchy.
Returns
void