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