@serenity-is/corelib / dispatchDisposingEvent

Function: dispatchDisposingEvent()

dispatchDisposingEvent(target, opt?): void

Defined in: ../domwise/dist/index.d.ts:2269

Dispatches a disposing event on the target element.

Parameters

target

EventTarget

The target element to dispatch the event on.

opt?

Optional event configuration.

bubbles?

boolean

Whether the event bubbles. Defaults to false.

cancelable?

boolean

Whether the event is cancelable. Defaults to false.

Returns

void