diff --git a/source b/source index fa7ba5d73be..e812d1d27e4 100644 --- a/source +++ b/source @@ -78127,6 +78127,45 @@ dictionary ToggleEventInit : EventInit { the oldState attribute. +

The InvokeEvent interface

+ +
[Exposed=Window]
+interface InvokeEvent : Event {
+  constructor(DOMString type, optional InvokeEventInit eventInitDict = {});
+  readonly attribute EventTarget? relatedTarget;
+  readonly attribute DOMString action;
+};
+
+dictionary InvokeEventInit : EventInit {
+  EventTarget? relatedTarget = null;
+  DOMString action = "auto";
+};
+ +
+
event.action
+ +
+

This is a freeform hint dictating what action the element must take. + Defaults to "auto".

+
+ +
event.relatedTarget
+ +
+

Used to identifiy a secodnary EventTarget related to the Invoke event.

+
+ +
+ +

The action + and attribute must return the value it is initialized to.

+ +

The relatedTarget attribute should be initialized + to the shadow-adjusted target that was + interacted with to cause the InvokeEvent.

Focus

@@ -138358,6 +138397,12 @@ INSERT INTERFACES HERE Form controls Fired at controls during form validation if they do not satisfy their constraints + + invoke + InvokeEvent + Elements + Fired at elements when they handle a user invocation, such as from an invoketarget. + languagechange Event