接口 IRegisteredKeyBinding实验性

Key binding that is registered to an input context

interface IRegisteredKeyBinding {
    id: string;
    getProcessingState(): KeyProcessingState;
    setProcessingState(newState: KeyProcessingState): void;
}

属性

id: string

Unique identifier for the binding.

方法

  • 实验性

    参数

    返回 void

    Updates how the key input will be processed for this binding. If undefined, it will be consumed.