Skip to content

@revolist/revogrid / RevogrFocusCustomEvent

Interface: RevogrFocusCustomEvent<T>

Extends

  • CustomEvent<T>

Type Parameters

Type Parameter
T

Properties

PropertyModifierTypeDescriptionOverridesInherited fromDefined in
AT_TARGETreadonly2--CustomEvent.AT_TARGETnode_modules/typescript/lib/lib.dom.d.ts:8226
BUBBLING_PHASEreadonly3--CustomEvent.BUBBLING_PHASEnode_modules/typescript/lib/lib.dom.d.ts:8227
CAPTURING_PHASEreadonly1--CustomEvent.CAPTURING_PHASEnode_modules/typescript/lib/lib.dom.d.ts:8225
NONEreadonly0--CustomEvent.NONEnode_modules/typescript/lib/lib.dom.d.ts:8224
bubblesreadonlybooleanReturns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. MDN Reference-CustomEvent.bubblesnode_modules/typescript/lib/lib.dom.d.ts:8121
cancelBubblepublicbooleanDeprecated MDN Reference-CustomEvent.cancelBubblenode_modules/typescript/lib/lib.dom.d.ts:8127
cancelablereadonlybooleanReturns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. MDN Reference-CustomEvent.cancelablenode_modules/typescript/lib/lib.dom.d.ts:8133
composedreadonlybooleanReturns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. MDN Reference-CustomEvent.composednode_modules/typescript/lib/lib.dom.d.ts:8139
currentTargetreadonlynull | EventTargetReturns the object whose event listener's callback is currently being invoked. MDN Reference-CustomEvent.currentTargetnode_modules/typescript/lib/lib.dom.d.ts:8145
defaultPreventedreadonlybooleanReturns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. MDN Reference-CustomEvent.defaultPreventednode_modules/typescript/lib/lib.dom.d.ts:8151
detailpublicTReturns any custom data event was created with. Typically used for synthetic events. MDN ReferenceCustomEvent.detail-src/components.d.ts:753
eventPhasereadonlynumberReturns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. MDN Reference-CustomEvent.eventPhasenode_modules/typescript/lib/lib.dom.d.ts:8157
isTrustedreadonlybooleanReturns true if event was dispatched by the user agent, and false otherwise. MDN Reference-CustomEvent.isTrustednode_modules/typescript/lib/lib.dom.d.ts:8163
returnValuepublicbooleanDeprecated MDN Reference-CustomEvent.returnValuenode_modules/typescript/lib/lib.dom.d.ts:8169
srcElementreadonlynull | EventTargetDeprecated MDN Reference-CustomEvent.srcElementnode_modules/typescript/lib/lib.dom.d.ts:8175
targetpublicHTMLRevogrFocusElementReturns the object to which event is dispatched (its target). MDN ReferenceCustomEvent.target-src/components.d.ts:754
timeStampreadonlynumberReturns the event's timestamp as the number of milliseconds measured relative to the time origin. MDN Reference-CustomEvent.timeStampnode_modules/typescript/lib/lib.dom.d.ts:8187
typereadonlystringReturns the type of event, e.g. "click", "hashchange", or "submit". MDN Reference-CustomEvent.typenode_modules/typescript/lib/lib.dom.d.ts:8193

Methods

composedPath()

ts
composedPath(): EventTarget[]

Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

MDN Reference

Returns

EventTarget[]

Inherited from

CustomEvent.composedPath

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8199


initCustomEvent()

ts
initCustomEvent(
   type: string, 
   bubbles?: boolean, 
   cancelable?: boolean, 
   detail?: T): void

Parameters

ParameterType
typestring
bubbles?boolean
cancelable?boolean
detail?T

Returns

void

Deprecated

MDN Reference

Inherited from

CustomEvent.initCustomEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6031


initEvent()

ts
initEvent(
   type: string, 
   bubbles?: boolean, 
   cancelable?: boolean): void

Parameters

ParameterType
typestring
bubbles?boolean
cancelable?boolean

Returns

void

Deprecated

MDN Reference

Inherited from

CustomEvent.initEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8205


preventDefault()

ts
preventDefault(): void

If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

MDN Reference

Returns

void

Inherited from

CustomEvent.preventDefault

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8211


stopImmediatePropagation()

ts
stopImmediatePropagation(): void

Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

MDN Reference

Returns

void

Inherited from

CustomEvent.stopImmediatePropagation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8217


stopPropagation()

ts
stopPropagation(): void

When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

MDN Reference

Returns

void

Inherited from

CustomEvent.stopPropagation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8223

Revogrid is a powerful data grid library made by Revolist OU.