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:12
Properties
AT_TARGET
• Readonly
AT_TARGET: 2
Inherited from
CustomEvent.AT_TARGET
Defined in
node_modules/.pnpm/typescript@5.4.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/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.3/node_modules/typescript/lib/lib.dom.d.ts:8070
detail
• Readonly
detail: T
Returns any custom data event was created with. Typically used for synthetic events.
Inherited from
CustomEvent.detail
Defined in
node_modules/.pnpm/typescript@5.4.3/node_modules/typescript/lib/lib.dom.d.ts:5959
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.3/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