open-ui
open-ui copied to clipboard
[Invokers] Supported action feature detection
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.
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.
This is solved by the attribute reflection algorithm.