shortcutjs
Options
All
  • Public
  • Public/Protected
  • All
Menu

Action class to use for the ShortcutJS

export
class

Action

Hierarchy

  • Action

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

callbacks

callbacks: Set<Function>

keyCombo

keyCombo: KeyCombo

name

name: string

Methods

addCallback

  • addCallback(cb: Function): void
  • Parameters

    • cb: Function

    Returns void

removeCallback

  • removeCallback(cb?: Function): void
  • Parameters

    • Default value cb: Function = null

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc