KeyDownHook

semagrams.bindings.KeyDownHook
case class KeyDownHook(key: String) extends EventHook[Unit]

An EventHook for keydown events.

Value parameters

key

the key that we are listening for

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EventHook[Unit]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(evt: LocalEvent, _globalState: GlobalState): Option[Unit]

Determine whether or not this is triggered, and if it is triggered

Determine whether or not this is triggered, and if it is triggered

Attributes

def description: String

A brief description of what conditions trigger the eventhook, for use in auto-generated help messages.

A brief description of what conditions trigger the eventhook, for use in auto-generated help messages.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product