You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// 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.
86
+
/// </summary>
87
+
/// <returns>An array of <see cref="EventTargetInProcess"/>s</returns>
.Select(async i =>awaitEventTargetInProcess.CreateAsync(JSRuntime,awaitInProcessHelper.InvokeAsync<IJSInProcessObjectReference>("getAttribute",jSArray,i)))))
/// When dispatched in a tree, invoking this method prevents the event from reaching any objects other than the current object.
105
+
/// </summary>
106
+
/// <returns></returns>
107
+
publicvoidStopPropagation()
108
+
{
109
+
JSReference.InvokeVoid("stopPropagation");
110
+
}
111
+
112
+
/// <summary>
113
+
/// 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.
/// Its value does not always carry meaning, but <see langword="true"/> can indicate that part of the operation during which event was dispatched,can be canceled by invoking the <see cref="PreventDefault"/> method.
/// If invoked when the cancelable attribute value is <see langword="true"/>, and while executing a listener for the event with passive set to <see langword="false"/>, then it signals to the operation that caused event to be dispatched that it needs to be canceled.
132
+
/// </summary>
133
+
publicvoidPreventDefault()
134
+
{
135
+
JSReference.InvokeVoid("preventDefault");
136
+
}
137
+
138
+
/// <summary>
139
+
/// Returns <see langword="true"/> if <see cref="PreventDefault"/> was invoked successfully to indicate cancelation; otherwise <see langword="false"/>.
/// Returns <see langword="true"/> if the event invokes listeners past a ShadowRoot node that is the root of its target; otherwise <see langword="false"/>.
/// Returns the event’s timestamp as the number of milliseconds measured relative to the <see href="https://w3c.github.io/hr-time/#dfn-get-time-origin-timestamp">time origin</see>.
0 commit comments