Skip to content

Commit

Permalink
Add InvokeElement, InvokeEvent, steps for invocation
Browse files Browse the repository at this point in the history
This specifies some of the detail within the Invokers proposal (#9625).

This introduces 2 new IDLs:

- InvokeEvent: A new event that has `action` and `relatedTarget`.
- InvokeElement: A mixin applied to Buttons to add
  `invokeTargetElement`/`invokeAction`

It also adds the `invoketarget` & `invokeaction` attributes which are
reflected to the IDL properties.

It also adds the steps for invocation: button activation checks if the
node has an invokeTarget and dispatches an InvokeEvent if so.

Things NOT covered in this commit that are included in the propoal (#9625):

- Default per element behaviours (invocation action algorithms), this
  will be dealt with in subsequent individual commits.

- `interestaction` and `interesttarget`.
  • Loading branch information
keithamus committed Oct 9, 2023
1 parent 52f546d commit 0c56df8
Showing 1 changed file with 246 additions and 1 deletion.

0 comments on commit 0c56df8

Please sign in to comment.