Skip to content

RelevantFocusEvent

Defined in: src/hooks/useLastComponentBeforeTabpanel.ts:28

Type Parameter
Section extends SectionId
Property Modifier Type Description Overrides Inherited from Defined in
bubbles public boolean - - RelevantKeyboardEvent.bubbles node_modules/@types/react/index.d.ts:2024
cancelable public boolean - - RelevantKeyboardEvent.cancelable node_modules/@types/react/index.d.ts:2025
currentTarget public EventTarget & RelevantLastComponent<Section> - - FocusEvent.currentTarget node_modules/@types/react/index.d.ts:2022
defaultPrevented public boolean - - RelevantKeyboardEvent.defaultPrevented node_modules/@types/react/index.d.ts:2026
eventPhase public number - - RelevantKeyboardEvent.eventPhase node_modules/@types/react/index.d.ts:2027
isTrusted public boolean - - RelevantKeyboardEvent.isTrusted node_modules/@types/react/index.d.ts:2028
nativeEvent public object - FocusEvent.nativeEvent - src/hooks/useLastComponentBeforeTabpanel.ts:31
nativeEvent.AT_TARGET readonly 2 - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14273
nativeEvent.bubbles readonly boolean The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14164
nativeEvent.BUBBLING_PHASE readonly 3 - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14274
nativeEvent.cancelable readonly boolean The cancelable read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14177
nativeEvent.cancelBubble public boolean The cancelBubble property of the Event interface is deprecated. Use Event.stopPropagation() instead. Setting its value to true before returning from an event handler prevents propagation of the event. In later implementations, setting this to false does nothing. See Browser compatibility for details. :::caution[Deprecated] MDN Reference ::: - - docs/node_modules/typescript/lib/lib.dom.d.ts:14171
nativeEvent.CAPTURING_PHASE readonly 1 - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14272
nativeEvent.composed readonly boolean The read-only composed property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14183
nativeEvent.currentTarget readonly EventTarget | null The currentTarget read-only property of the Event interface identifies the element to which the event handler has been attached. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14189
nativeEvent.defaultPrevented readonly boolean The defaultPrevented read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14195
nativeEvent.detail readonly number The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:37281
nativeEvent.eventPhase readonly number The eventPhase read-only property of the Event interface indicates which phase of the event flow is currently being evaluated. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14201
nativeEvent.isTrusted readonly boolean The isTrusted read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14207
nativeEvent.NONE readonly 0 - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14271
nativeEvent.relatedTarget readonly EventTarget | null The relatedTarget read-only property of the FocusEvent interface is the secondary target, depending on the type of event: MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14848
nativeEvent.returnValue public boolean The Event property returnValue indicates whether the default action for this event has been prevented or not. :::caution[Deprecated] MDN Reference ::: - - docs/node_modules/typescript/lib/lib.dom.d.ts:14214
nativeEvent.srcElement readonly EventTarget | null The deprecated Event.srcElement is an alias for the Event.target property. Use Event.target instead. :::caution[Deprecated] MDN Reference ::: - - docs/node_modules/typescript/lib/lib.dom.d.ts:14221
nativeEvent.target readonly EventTarget | null The read-only target property of the Event interface is a reference to the object onto which the event was dispatched. It is different from Event.currentTarget when the event handler is called during the bubbling or capturing phase of the event. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14227
nativeEvent.timeStamp readonly number The timeStamp read-only property of the Event interface returns the time (in milliseconds) at which the event was created. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:14233
nativeEvent.type public "focusin" - - - src/hooks/useLastComponentBeforeTabpanel.ts:33
nativeEvent.view readonly Window | null The UIEvent.view read-only property returns the WindowProxy object from which the event was generated. In browsers, this is the Window object the event happened in. MDN Reference - - docs/node_modules/typescript/lib/lib.dom.d.ts:37287
nativeEvent.which readonly number The UIEvent.which read-only property of the UIEvent interface returns a number that indicates which button was pressed on the mouse, or the numeric keyCode or the character code (charCode) of the key pressed on the keyboard. :::caution[Deprecated] MDN Reference ::: - - docs/node_modules/typescript/lib/lib.dom.d.ts:37294
nativeEvent.composedPath public EventTarget[] - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14245
nativeEvent.initEvent public void - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14252
nativeEvent.initUIEvent public void - - - docs/node_modules/typescript/lib/lib.dom.d.ts:37301
nativeEvent.preventDefault public void - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14258
nativeEvent.stopImmediatePropagation public void - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14264
nativeEvent.stopPropagation public void - - - docs/node_modules/typescript/lib/lib.dom.d.ts:14270
relatedTarget public RelevantLastComponent<Section> - FocusEvent.relatedTarget - src/hooks/useLastComponentBeforeTabpanel.ts:35
target public EventTarget & RelevantLastComponent<Section> - - FocusEvent.target node_modules/@types/react/index.d.ts:2074
timeStamp public number - - RelevantKeyboardEvent.timeStamp node_modules/@types/react/index.d.ts:2034
type public string - - RelevantKeyboardEvent.type node_modules/@types/react/index.d.ts:2035

isDefaultPrevented(): boolean

Defined in: node_modules/@types/react/index.d.ts:2030

boolean

FocusEvent.isDefaultPrevented


isPropagationStopped(): boolean

Defined in: node_modules/@types/react/index.d.ts:2032

boolean

FocusEvent.isPropagationStopped


persist(): void

Defined in: node_modules/@types/react/index.d.ts:2033

void

FocusEvent.persist


preventDefault(): void

Defined in: node_modules/@types/react/index.d.ts:2029

void

FocusEvent.preventDefault


stopPropagation(): void

Defined in: node_modules/@types/react/index.d.ts:2031

void

FocusEvent.stopPropagation