open-ui icon indicating copy to clipboard operation
open-ui copied to clipboard

[Invokers] Supported action feature detection

Open lukewarlow opened this issue 2 years ago • 1 comments
trafficstars

Is there a way to feature detect the currently supported actions by the browser?

This would be particularly helpful in future when new actions are added that aren't in the initial round.

The actions would be per target element so not entirely sure how best to do it?

Pontentially

invoker.invokeTargetElement.getSupportedActions()

Not super important for v1 but thought I'd raise the idea.

lukewarlow avatar Oct 02 '23 16:10 lukewarlow

There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.

github-actions[bot] avatar May 08 '24 00:05 github-actions[bot]

This is solved by the attribute reflection algorithm.

lukewarlow avatar Feb 15 '25 18:02 lukewarlow