@gausszhou/litegraph-core / CustomEventExt
Interface: CustomEventExt
Defined in: packages/core/src/DragAndScale.ts:21
Extends
CustomEventEventExt
Properties
AT_TARGET
readonly AT_TARGET: 2;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11462
Inherited from
CustomEvent.AT_TARGET
bubbles
readonly bubbles: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11353
The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.
Inherited from
CustomEvent.bubbles
BUBBLING_PHASE
readonly BUBBLING_PHASE: 3;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11463
Inherited from
CustomEvent.BUBBLING_PHASE
cancelable
readonly cancelable: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11366
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.
Inherited from
CustomEvent.cancelable
cancelBubble
cancelBubble: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11360
The cancelBubble property of the Event interface is deprecated.
Deprecated
Inherited from
CustomEvent.cancelBubble
canvasX
canvasX: number;Defined in: packages/core/src/DragAndScale.ts:5
Inherited from
canvasY
canvasY: number;Defined in: packages/core/src/DragAndScale.ts:6
Inherited from
CAPTURING_PHASE
readonly CAPTURING_PHASE: 1;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11461
Inherited from
CustomEvent.CAPTURING_PHASE
click_time?
click_time?: number;Defined in: packages/core/src/DragAndScale.ts:15
Inherited from
composed
readonly composed: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11372
The read-only composed property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
Inherited from
CustomEvent.composed
currentTarget
readonly currentTarget: EventTarget | null;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11378
The currentTarget read-only property of the Event interface identifies the element to which the event handler has been attached.
Inherited from
CustomEvent.currentTarget
defaultPrevented
readonly defaultPrevented: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11384
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.
Inherited from
CustomEvent.defaultPrevented
delta?
delta?: number;Defined in: packages/core/src/DragAndScale.ts:10
Inherited from
deltaX?
deltaX?: number;Defined in: packages/core/src/DragAndScale.ts:12
Inherited from
deltaY?
deltaY?: number;Defined in: packages/core/src/DragAndScale.ts:13
Inherited from
detail
readonly detail: any;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:8549
The read-only detail property of the CustomEvent interface returns any data passed when initializing the event.
Inherited from
CustomEvent.detail
dragging
dragging: boolean;Defined in: packages/core/src/DragAndScale.ts:7
Inherited from
eventPhase
readonly eventPhase: number;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11390
The eventPhase read-only property of the being evaluated.
Inherited from
CustomEvent.eventPhase
eventType?
eventType?: string;Defined in: packages/core/src/DragAndScale.ts:8
Inherited from
isTrusted
readonly isTrusted: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11396
The isTrusted read-only property of the 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 The only exception is the click event, which initializes the isTrusted property to false in user agents.
Inherited from
CustomEvent.isTrusted
NONE
readonly NONE: 0;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11460
Inherited from
CustomEvent.NONE
returnValue
returnValue: boolean;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11403
The Event property returnValue indicates whether the default action for this event has been prevented or not.
Deprecated
Inherited from
CustomEvent.returnValue
srcElement
readonly srcElement: EventTarget | null;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11410
The deprecated Event.srcElement is an alias for the Event.target property.
Deprecated
Inherited from
CustomEvent.srcElement
target
readonly target: EventTarget | null;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11416
The read-only target property of the dispatched.
Inherited from
CustomEvent.target
timeStamp
readonly timeStamp: number;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11422
The timeStamp read-only property of the Event interface returns the time (in milliseconds) at which the event was created.
Inherited from
CustomEvent.timeStamp
type
readonly type: string;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11428
The type read-only property of the Event interface returns a string containing the event's type.
Inherited from
CustomEvent.type
wheel?
wheel?: number;Defined in: packages/core/src/DragAndScale.ts:9
Inherited from
wheelDelta?
wheelDelta?: number;Defined in: packages/core/src/DragAndScale.ts:11
Inherited from
wheelDeltaY?
wheelDeltaY?: number;Defined in: packages/core/src/DragAndScale.ts:14
Inherited from
Methods
composedPath()
composedPath(): EventTarget[];Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11434
The composedPath() method of the Event interface returns the event's path which is an array of the objects on which listeners will be invoked.
Returns
EventTarget[]
Inherited from
CustomEvent.composedPath
initCustomEvent()
initCustomEvent(
type,
bubbles?,
cancelable?,
detail?
): void;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:8556
The CustomEvent.initCustomEvent() method initializes a CustomEvent object.
Parameters
type
string
bubbles?
boolean
cancelable?
boolean
detail?
any
Returns
void
Deprecated
Inherited from
CustomEvent.initCustomEvent
initEvent()
initEvent(
type,
bubbles?,
cancelable?
): void;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11441
The Event.initEvent() method is used to initialize the value of an event created using Document.createEvent().
Parameters
type
string
bubbles?
boolean
cancelable?
boolean
Returns
void
Deprecated
Inherited from
CustomEvent.initEvent
preventDefault()
preventDefault(): void;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11447
The preventDefault() method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
Returns
void
Inherited from
CustomEvent.preventDefault
stopImmediatePropagation()
stopImmediatePropagation(): void;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11453
The stopImmediatePropagation() method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.
Returns
void
Inherited from
CustomEvent.stopImmediatePropagation
stopPropagation()
stopPropagation(): void;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11459
The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.
Returns
void
Inherited from
CustomEvent.stopPropagation