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/core/src/callbacks/CallbackManager.ts:22
Properties
#private
private
#private:any
Inherited from
CustomEvent.#private
Source
packages/env/dist/type/utils.d.ts:40
AT_TARGET
readonly
AT_TARGET:2
Inherited from
CustomEvent.AT_TARGET
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8145
BUBBLING_PHASE
readonly
BUBBLING_PHASE:3
Inherited from
CustomEvent.BUBBLING_PHASE
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8146
CAPTURING_PHASE
readonly
CAPTURING_PHASE:1
Inherited from
CustomEvent.CAPTURING_PHASE
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8144
NONE
readonly
NONE:0
Inherited from
CustomEvent.NONE
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8143
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8040
cancelBubble
cancelBubble:
boolean
Deprecated
Inherited from
CustomEvent.cancelBubble
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8046
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8052
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8058
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8064
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8070
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8076
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8082
reason
reason:
null
|EventCaller
Source
packages/core/src/callbacks/CallbackManager.ts:21
returnValue
returnValue:
boolean
Deprecated
Inherited from
CustomEvent.returnValue
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8088
srcElement
readonly
srcElement:null
|EventTarget
Deprecated
Inherited from
CustomEvent.srcElement
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts:8094
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8100
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8106
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.4.5/node_modules/typescript/lib/lib.dom.d.ts:8112