keydown

WebJar for keydown

License

License

BSD
Categories

Categories

KeY Data Data Formats Formal Verification
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

keydown
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

keydown
WebJar for keydown
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/maxogden/keydown

Download keydown

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/keydown/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>keydown</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/keydown/
implementation 'org.webjars.npm:keydown:0.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/keydown/
implementation ("org.webjars.npm:keydown:0.0.3")
'org.webjars.npm:keydown:jar:0.0.3'
<dependency org="org.webjars.npm" name="keydown" rev="0.0.3">
  <artifact name="keydown" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='keydown', version='0.0.3')
)
libraryDependencies += "org.webjars.npm" % "keydown" % "0.0.3"
[org.webjars.npm/keydown "0.0.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : vkey jar [0.0.3,0.1)

Project Modules

There are no modules declared in this project.

keydown

NPM

client side module for firing events when keys are pressed down. uses vkey definitions

demo

view on requirebin

usage

var keydown = require('keydown')

var kd = keydown(['<control>', 'a'])

kd.on('pressed', function() {
  // control + a are both pressed right now
})

Versions

Version
0.0.3