Comparing version 3.0.0 to 3.1.0
@@ -100,2 +100,18 @@ 'use strict'; | ||
get onmousedown() { return this.listeners('mousedown'); } | ||
set onmousedown(cb) { this.on('mousedown', cb); } | ||
get onmouseup() { return this.listeners('mouseup'); } | ||
set onmouseup(cb) { this.on('mouseup', cb); } | ||
get onwheel() { return this.listeners('wheel'); } | ||
set onwheel(cb) { this.on('wheel', cb); } | ||
get onmousewheel() { return this.listeners('mousewheel'); } | ||
set onmousewheel(cb) { this.on('mousewheel', cb); } | ||
get onresize() { return this.listeners('resize'); } | ||
set onresize(cb) { this.on('resize', cb); } | ||
get style() { | ||
@@ -155,6 +171,9 @@ const that = this; | ||
onkeydown : () => {}, | ||
onmousedown : () => {}, | ||
onkeyup : () => {}, | ||
onmouseup : () => {}, | ||
onkeydown : () => {}, | ||
onkeyup : () => {}, | ||
onmousedown : () => {}, | ||
onmouseup : () => {}, | ||
onwheel : () => {}, | ||
onmousewheel : () => {}, | ||
onresize : () => {}, | ||
@@ -161,0 +180,0 @@ dispatchEvent : () => {}, |
{ | ||
"author": "Luis Blanco <luisblanco1337@gmail.com>", | ||
"name": "glfw-raub", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "GLFW for Node.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
71573
610