tuil
ReferencePackages@mwillbanks/tuil-eventsAPI

EventEmitOptions

interface exported by @mwillbanks/tuil-events.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-events.

export interface EventEmitOptions {
  readonly source?: EventSource;
  readonly target?: EventTarget;
  readonly metadata?: Readonly<Record<string, unknown>>;
  readonly priority?: EventPriority;
  readonly path?: readonly string[];
}

Members

MemberTypeRequiredDescriptionRelated types
sourceEventSource | undefinedNoThe source member uses the EventSource | undefined contract.EventSource
targetEventTarget | undefinedNoThe target member uses the EventTarget | undefined contract.EventTarget
metadataReadonly<Record<string, unknown>> | undefinedNoThe metadata member uses the Readonly<Record<string, unknown>> | undefined contract.
priorityEventPriority | undefinedNoThe priority member uses the EventPriority | undefined contract.EventPriority
pathreadonly string[] | undefinedNoThe path member uses the readonly string[] | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-events

On this page