spatial-controls - v6.2.0
    Preparing search index...

    Class Bindings<TKey>

    Input bindings.

    Type Parameters

    • TKey

      The type of the binding keys.

    Index

    Constructors

    Properties

    actions: Map<TKey, Action>

    A collection that maps keys to actions.

    defaultActions: Map<TKey, Action>

    The default bindings.

    Methods

    • Returns the action that is bound to the given key.

      Parameters

      Returns undefined | Action

      The action, or undefined if the key is not bound to any action.

    • Checks if the given key is bound to an action.

      Parameters

      Returns boolean

      Whether the given key is bound to an action.