Skip to main content

Interface: FFMessageEvent

Hierarchy​

  • MessageEvent

    ↳ FFMessageEvent

Properties​

AT_TARGET​

• Readonly AT_TARGET: number

Inherited from​

MessageEvent.AT_TARGET

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1383


BUBBLING_PHASE​

• Readonly BUBBLING_PHASE: number

Inherited from​

MessageEvent.BUBBLING_PHASE

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1384


CAPTURING_PHASE​

• Readonly CAPTURING_PHASE: number

Inherited from​

MessageEvent.CAPTURING_PHASE

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1385


NONE​

• Readonly NONE: number

Inherited from​

MessageEvent.NONE

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1386


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​

MessageEvent.bubbles

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1349


cancelBubble​

• cancelBubble: boolean

Inherited from​

MessageEvent.cancelBubble

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1350


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​

MessageEvent.cancelable

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1352


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​

MessageEvent.composed

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1354


currentTarget​

• Readonly currentTarget: null | EventTarget

Returns the object whose event listener's callback is currently being invoked.

Inherited from​

MessageEvent.currentTarget

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1356


data​

• data: FFMessage

Overrides​

MessageEvent.data

Defined in​

packages/ffmpeg/src/types.ts:133


defaultPrevented​

• Readonly defaultPrevented: boolean

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

Inherited from​

MessageEvent.defaultPrevented

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1358


eventPhase​

• Readonly eventPhase: number

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

Inherited from​

MessageEvent.eventPhase

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1360


isTrusted​

• Readonly isTrusted: boolean

Returns true if event was dispatched by the user agent, and false otherwise.

Inherited from​

MessageEvent.isTrusted

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1362


lastEventId​

• Readonly lastEventId: string

Returns the last event ID string, for server-sent events.

Inherited from​

MessageEvent.lastEventId

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:2224


origin​

• Readonly origin: string

Returns the origin of the message, for server-sent events and cross-document messaging.

Inherited from​

MessageEvent.origin

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:2226


ports​

• Readonly ports: readonly MessagePort[]

Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.

Inherited from​

MessageEvent.ports

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:2228


returnValue​

• returnValue: boolean

Deprecated

Inherited from​

MessageEvent.returnValue

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1364


source​

• Readonly source: null | MessageEventSource

Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.

Inherited from​

MessageEvent.source

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:2230


srcElement​

• Readonly srcElement: null | EventTarget

Deprecated

Inherited from​

MessageEvent.srcElement

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1366


target​

• Readonly target: null | EventTarget

Returns the object to which event is dispatched (its target).

Inherited from​

MessageEvent.target

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1368


timeStamp​

• Readonly timeStamp: number

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

Inherited from​

MessageEvent.timeStamp

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1370


type​

• Readonly type: string

Returns the type of event, e.g. "click", "hashchange", or "submit".

Inherited from​

MessageEvent.type

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1372

Methods​

composedPath​

▸ composedPath(): EventTarget[]

Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

Returns​

EventTarget[]

Inherited from​

MessageEvent.composedPath

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1374


initEvent​

▸ initEvent(type, bubbles?, cancelable?): void

Deprecated

Parameters​

NameType
typestring
bubbles?boolean
cancelable?boolean

Returns​

void

Inherited from​

MessageEvent.initEvent

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1376


initMessageEvent​

▸ initMessageEvent(type, bubbles?, cancelable?, data?, origin?, lastEventId?, source?, ports?): void

Deprecated

Parameters​

NameType
typestring
bubbles?boolean
cancelable?boolean
data?any
origin?string
lastEventId?string
source?null | MessageEventSource
ports?MessagePort[]

Returns​

void

Inherited from​

MessageEvent.initMessageEvent

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:2232


preventDefault​

▸ preventDefault(): void

If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

Returns​

void

Inherited from​

MessageEvent.preventDefault

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1378


stopImmediatePropagation​

▸ stopImmediatePropagation(): void

Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

Returns​

void

Inherited from​

MessageEvent.stopImmediatePropagation

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1380


stopPropagation​

▸ stopPropagation(): void

When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

Returns​

void

Inherited from​

MessageEvent.stopPropagation

Defined in​

node_modules/typescript/lib/lib.webworker.d.ts:1382