Skip to content

Docs on adding KeyboardEvent #56

@JosiahParry

Description

@JosiahParry

The CodeEditor can add a listener for the method .on_key_press() which takes an IKeyboardEvent. However there is no interface to create one. You can use the .on_key_press() method to create a DisposableClosure but there doesn't seem to be an interface to actually add this as an action to the editor.

It would be great if there were an example showing how to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions