Skip to content

defineShortcuts usingInput extension function type #4356

Open
@eevho

Description

@eevho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions