Skip to content

pantoken / formats/interactions/src / makeOnCommand

Function: makeOnCommand()

makeOnCommand(invokerSupported): OnCommand

Build the command-event router: forward a target's command events to a handler, and where the Invoker Commands API is missing, delegate matching commandfor clicks across the target's tree.

Parameters

invokerSupported

boolean

Returns

OnCommand