Class: LlamaIndexCustomEvent<T>
Extends
defaultCustomEvent
<T
>
Type parameters
• T = any
Constructors
new LlamaIndexCustomEvent()
private
new LlamaIndexCustomEvent<T
>(event
,options
?):LlamaIndexCustomEvent
<T
>
Parameters
• event: string
• options?: CustomEventInit
<any
> & object
Returns
Overrides
CustomEvent<T>.constructor
Source
packages/llamaindex/src/callbacks/CallbackManager.ts:22
Properties
#private
private
#private:any
Inherited from
CustomEvent.#private
Source
packages/env/dist/type/utils.d.ts:38
AT_TARGET
readonly
AT_TARGET:2
Inherited from
CustomEvent.AT_TARGET
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8226
BUBBLING_PHASE
readonly
BUBBLING_PHASE:3
Inherited from
CustomEvent.BUBBLING_PHASE
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8227
CAPTURING_PHASE
readonly
CAPTURING_PHASE:1
Inherited from
CustomEvent.CAPTURING_PHASE
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8225
NONE
readonly
NONE:0
Inherited from
CustomEvent.NONE
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8224
bubbles
readonly
bubbles: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.
Inherited from
CustomEvent.bubbles
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8121
cancelBubble
cancelBubble:
boolean
Deprecated
Inherited from
CustomEvent.cancelBubble
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8127
cancelable
readonly
cancelable: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.
Inherited from
CustomEvent.cancelable
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8133
composed
readonly
composed: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.
Inherited from
CustomEvent.composed
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8139
currentTarget
readonly
currentTarget:null
|EventTarget
Returns the object whose event listener's callback is currently being invoked.
Inherited from
CustomEvent.currentTarget
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8145
defaultPrevented
readonly
defaultPrevented:boolean
Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
Inherited from
CustomEvent.defaultPrevented
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8151
eventPhase
readonly
eventPhase:number
Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
Inherited from
CustomEvent.eventPhase
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8157
isTrusted
readonly
isTrusted:boolean
Returns true if event was dispatched by the user agent, and false otherwise.
Inherited from
CustomEvent.isTrusted
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8163
reason
reason:
null
|EventCaller
Source
packages/llamaindex/src/callbacks/CallbackManager.ts:21
returnValue
returnValue:
boolean
Deprecated
Inherited from
CustomEvent.returnValue
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8169
srcElement
readonly
srcElement:null
|EventTarget
Deprecated
Inherited from
CustomEvent.srcElement
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8175
target
readonly
target:null
|EventTarget
Returns the object to which event is dispatched (its target).
Inherited from
CustomEvent.target
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8181
timeStamp
readonly
timeStamp:number
Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
Inherited from
CustomEvent.timeStamp
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8187
type
readonly
type:string
Returns the type of event, e.g. "click", "hashchange", or "submit".
Inherited from
CustomEvent.type
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8193
AT_TARGET
static
readonly
AT_TARGET:2
Inherited from
CustomEvent.AT_TARGET
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8235
BUBBLING_PHASE
static
readonly
BUBBLING_PHASE:3
Inherited from
CustomEvent.BUBBLING_PHASE
Source
node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts:8236
CAPTURING_PHASE
static
readonly
CAPTURING_PHASE:1