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
IEventTargetSpecifies the new value for the IEvent.CurrentTarget attribute.
phase
ushortSpecifies the new value for the IEvent.EventPhase attribute.
Remarks
It also reset the states of IsPropagationStopped and IsImmediatePropagationStopped.