Table of Contents

Method SetDispatchState

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Core.dll

SetDispatchState(IEventTarget, ushort)

The SetDispatchState method is used by the DOM Events implementation to set the values of IEvent.CurrentTarget and IEvent.EventPhase.

void SetDispatchState(IEventTarget target, ushort phase)

Parameters

target IEventTarget

Specifies the new value for the IEvent.CurrentTarget attribute.

phase ushort

Specifies the new value for the IEvent.EventPhase attribute.

Remarks

It also reset the states of IsPropagationStopped and IsImmediatePropagationStopped.