Skip to content

@ralphschuler.ai function caller.index.<internal>.Event

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: Event

index.<internal>.Event

An event which takes place in the DOM.

Hierarchy

Table of contents

Properties

Methods

Properties

bubbles

Readonly bubbles: boolean

This is not used in Node.js and is provided purely for completeness.

Inherited from

__Event.bubbles

Defined in

node_modules/@types/node/dom-events.d.ts:14


cancelBubble

cancelBubble: () => void

Type declaration

▸ (): void

Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness.

Returns

void

Inherited from

__Event.cancelBubble

Defined in

node_modules/@types/node/dom-events.d.ts:16


cancelable

Readonly cancelable: boolean

True if the event was created with the cancelable option

Inherited from

__Event.cancelable

Defined in

node_modules/@types/node/dom-events.d.ts:18


composed

Readonly composed: boolean

This is not used in Node.js and is provided purely for completeness.

Inherited from

__Event.composed

Defined in

node_modules/@types/node/dom-events.d.ts:20


currentTarget

Readonly currentTarget: null | EventTarget

Alias for event.target.

Inherited from

__Event.currentTarget

Defined in

node_modules/@types/node/dom-events.d.ts:24


defaultPrevented

Readonly defaultPrevented: boolean

Is true if cancelable is true and event.preventDefault() has been called.

Inherited from

__Event.defaultPrevented

Defined in

node_modules/@types/node/dom-events.d.ts:26


eventPhase

Readonly eventPhase: 0 | 2

This is not used in Node.js and is provided purely for completeness.

Inherited from

__Event.eventPhase

Defined in

node_modules/@types/node/dom-events.d.ts:28


isTrusted

Readonly isTrusted: boolean

The AbortSignal "abort" event is emitted with isTrusted set to true. The value is false in all other cases.

Inherited from

__Event.isTrusted

Defined in

node_modules/@types/node/dom-events.d.ts:30


returnValue

returnValue: boolean

This is not used in Node.js and is provided purely for completeness.

Inherited from

__Event.returnValue

Defined in

node_modules/@types/node/dom-events.d.ts:34


srcElement

Readonly srcElement: null | EventTarget

Alias for event.target.

Inherited from

__Event.srcElement

Defined in

node_modules/@types/node/dom-events.d.ts:36


target

Readonly target: null | EventTarget

The EventTarget dispatching the event

Inherited from

__Event.target

Defined in

node_modules/@types/node/dom-events.d.ts:42


timeStamp

Readonly timeStamp: number

The millisecond timestamp when the Event object was created.

Inherited from

__Event.timeStamp

Defined in

node_modules/@types/node/dom-events.d.ts:44


type

Readonly type: string

Returns the type of event, e.g. "click", "hashchange", or "submit".

Inherited from

__Event.type

Defined in

node_modules/@types/node/dom-events.d.ts:46

Methods

composedPath

composedPath(): [EventTarget?]

Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness.

Returns

[EventTarget?]

Inherited from

__Event.composedPath

Defined in

node_modules/@types/node/dom-events.d.ts:22


preventDefault

preventDefault(): void

Sets the defaultPrevented property to true if cancelable is true.

Returns

void

Inherited from

__Event.preventDefault

Defined in

node_modules/@types/node/dom-events.d.ts:32


stopImmediatePropagation

stopImmediatePropagation(): void

Stops the invocation of event listeners after the current one completes.

Returns

void

Inherited from

__Event.stopImmediatePropagation

Defined in

node_modules/@types/node/dom-events.d.ts:38


stopPropagation

stopPropagation(): void

This is not used in Node.js and is provided purely for completeness.

Returns

void

Inherited from

__Event.stopPropagation

Defined in

node_modules/@types/node/dom-events.d.ts:40

Typescript Libraries

Modules

Namespaces

Clone this wiki locally