<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Scope`](Scope) ## Scope class A scope receives keyboard events and binds callbacks to given hotkeys. Only one scope is active at a time, but scopes may define parent scopes (in the constructor) and inherit their hotkeys. **Signature:** ```typescript export class Scope ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [`(constructor)(parent)`](Scope/(constructor).md) | | Constructs a new instance of the <code>Scope</code> class | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [`register(modifiers, key, func)`](Scope/register) | | Add a keymap event handler to this scope. | | [`unregister(handler)`](Scope/unregister) | | Remove an existing keymap event handler. |