Open
Description
Description
Is it possible for defineShortcuts to extend usingInput to allow function types to be passed in for dynamic focus condition management? For example, in the implementation of imperative shortcuts, defineShortcuts are defined centrally, handler dynamically executes different commands according to the global state, but usingInput currently only allows passing in Boolean and String values, and lacks the ability to change dynamically. It may be more flexible for usingInput to have dynamics than only supporting static capabilities in actual business.
Additional context
No response