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 `invoker`.
- 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 18, 2023
1 parent 4c27e3a commit 834a8b1
Showing 1 changed file with 225 additions and 1 deletion.
Loading

0 comments on commit 834a8b1

Please sign in to comment.