Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Input

Input API entry point

Index

Interfaces

Type aliases

Type aliases

InputAction

InputAction: function

Type declaration

    • (): void
    • Returns void

InputFilter

InputFilter: function

Often, you want a keybinding to be available in certain modes, but not other modes. Vim handles this by exposing several variations of its map command (like nmap, imap, noremap, etc)

In Oni, the filter function determines whether or not a binding ins enabled. It's simply a function that returns true or false.

Type declaration

    • (): boolean
    • Returns boolean

Generated using TypeDoc