Class: LlamaIndexCustomEvent<T>
Type parameters
Name | Type |
---|---|
T | any |
Hierarchy
-
defaultCustomEvent
<T
>↳
LlamaIndexCustomEvent
Constructors
constructor
• new LlamaIndexCustomEvent<T
>(event
, options?
): LlamaIndexCustomEvent
<T
>
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
event | string |
options? | CustomEventInit <any > & { reason? : null | EventCaller } |
Returns
Overrides
CustomEvent<T>.constructor
Defined in
packages/core/src/callbacks/CallbackManager.ts:19
Properties
#private
• Private
#private: any
Inherited from
CustomEvent.#private
Defined in
packages/env/dist/type/utils.d.ts:40
AT_TARGET
• Readonly
AT_TARGET: 2
Inherited from
CustomEvent.AT_TARGET
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8145
BUBBLING_PHASE
• Readonly
BUBBLING_PHASE: 3
Inherited from
CustomEvent.BUBBLING_PHASE
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8146
CAPTURING_PHASE
• Readonly
CAPTURING_PHASE: 1
Inherited from
CustomEvent.CAPTURING_PHASE
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8144
NONE
• Readonly
NONE: 0
Inherited from
CustomEvent.NONE
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8040
cancelBubble
• cancelBubble: boolean
Deprecated
Inherited from
CustomEvent.cancelBubble
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8082
reason
• reason: null
| EventCaller
Defined in
packages/core/src/callbacks/CallbackManager.ts:18
returnValue
• returnValue: boolean
Deprecated
Inherited from
CustomEvent.returnValue
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8088
srcElement
• Readonly
srcElement: null
| EventTarget
Deprecated
Inherited from
CustomEvent.srcElement
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/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
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8112
AT_TARGET
▪ Static
Readonly
AT_TARGET: 2
Inherited from
CustomEvent.AT_TARGET
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8154
BUBBLING_PHASE
▪ Static
Readonly
BUBBLING_PHASE: 3
Inherited from
CustomEvent.BUBBLING_PHASE
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8155
CAPTURING_PHASE
▪ Static
Readonly
CAPTURING_PHASE: 1
Inherited from
CustomEvent.CAPTURING_PHASE
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8153
NONE
▪ Static
Readonly
NONE: 0
Inherited from
CustomEvent.NONE
Defined in
node_modules/.pnpm/typescript@5.4.4/node_modules/typescript/lib/lib.dom.d.ts:8152
Accessors
detail
• get
detail(): T
Returns
T
Inherited from
CustomEvent.detail
Defined in
packages/env/dist/type/utils.d.ts:41