@revolist/revogrid / VnodeHtmlCustomEvent
Interface: VnodeHtmlCustomEvent<T>
Extends
CustomEvent
<T
>
Type Parameters
Type Parameter |
---|
T |
Properties
Property | Modifier | Type | Description | Overrides | Inherited from | Defined in |
---|---|---|---|---|---|---|
AT_TARGET | readonly | 2 | - | - | CustomEvent.AT_TARGET | node_modules/typescript/lib/lib.dom.d.ts:8226 |
BUBBLING_PHASE | readonly | 3 | - | - | CustomEvent.BUBBLING_PHASE | node_modules/typescript/lib/lib.dom.d.ts:8227 |
CAPTURING_PHASE | readonly | 1 | - | - | CustomEvent.CAPTURING_PHASE | node_modules/typescript/lib/lib.dom.d.ts:8225 |
NONE | readonly | 0 | - | - | CustomEvent.NONE | node_modules/typescript/lib/lib.dom.d.ts:8224 |
bubbles | readonly | boolean | Returns 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.bubbles | node_modules/typescript/lib/lib.dom.d.ts:8121 |
cancelBubble | public | boolean | Deprecated MDN Reference | - | CustomEvent.cancelBubble | node_modules/typescript/lib/lib.dom.d.ts:8127 |
cancelable | readonly | boolean | Returns 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.cancelable | node_modules/typescript/lib/lib.dom.d.ts:8133 |
composed | readonly | boolean | Returns 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.composed | node_modules/typescript/lib/lib.dom.d.ts:8139 |
currentTarget | readonly | null | EventTarget | Returns the object whose event listener's callback is currently being invoked. MDN Reference | - | CustomEvent.currentTarget | node_modules/typescript/lib/lib.dom.d.ts:8145 |
defaultPrevented | readonly | boolean | Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. MDN Reference | - | CustomEvent.defaultPrevented | node_modules/typescript/lib/lib.dom.d.ts:8151 |
detail | public | T | Returns any custom data event was created with. Typically used for synthetic events. MDN Reference | CustomEvent.detail | - | src/components.d.ts:775 |
eventPhase | readonly | number | Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. MDN Reference | - | CustomEvent.eventPhase | node_modules/typescript/lib/lib.dom.d.ts:8157 |
isTrusted | readonly | boolean | Returns true if event was dispatched by the user agent, and false otherwise. MDN Reference | - | CustomEvent.isTrusted | node_modules/typescript/lib/lib.dom.d.ts:8163 |
returnValue | public | boolean | Deprecated MDN Reference | - | CustomEvent.returnValue | node_modules/typescript/lib/lib.dom.d.ts:8169 |
srcElement | readonly | null | EventTarget | Deprecated MDN Reference | - | CustomEvent.srcElement | node_modules/typescript/lib/lib.dom.d.ts:8175 |
target | public | HTMLVnodeHtmlElement | Returns the object to which event is dispatched (its target). MDN Reference | CustomEvent.target | - | src/components.d.ts:776 |
timeStamp | readonly | number | Returns the event's timestamp as the number of milliseconds measured relative to the time origin. MDN Reference | - | CustomEvent.timeStamp | node_modules/typescript/lib/lib.dom.d.ts:8187 |
type | readonly | string | Returns the type of event, e.g. "click", "hashchange", or "submit". MDN Reference | - | CustomEvent.type | node_modules/typescript/lib/lib.dom.d.ts:8193 |
Methods
composedPath()
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.
Returns
EventTarget
[]
Inherited from
CustomEvent.composedPath
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8199
initCustomEvent()
initCustomEvent(
type: string,
bubbles?: boolean,
cancelable?: boolean,
detail?: T): void
Parameters
Parameter | Type |
---|---|
type | string |
bubbles ? | boolean |
cancelable ? | boolean |
detail ? | T |
Returns
void
Deprecated
Inherited from
CustomEvent.initCustomEvent
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6031
initEvent()
initEvent(
type: string,
bubbles?: boolean,
cancelable?: boolean): void
Parameters
Parameter | Type |
---|---|
type | string |
bubbles ? | boolean |
cancelable ? | boolean |
Returns
void
Deprecated
Inherited from
CustomEvent.initEvent
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8205
preventDefault()
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.
Returns
void
Inherited from
CustomEvent.preventDefault
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8211
stopImmediatePropagation()
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.
Returns
void
Inherited from
CustomEvent.stopImmediatePropagation
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8217
stopPropagation()
stopPropagation(): void
When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
Returns
void
Inherited from
CustomEvent.stopPropagation
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8223