StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| example | 5 years ago | |
| .npmignore | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| mouse-listen.js | 5 years ago | |
| package.json | 5 years ago | |
README.md
mouse-change
Listens for any mouse state changes.
Example
require('mouse-change')(function(buttons, x, y) {
document.body.innerHTML =
'<p>Buttons: 0b' + buttons.toString(2) +
', x:' + x +
', y:' + y + '</p>'
})
Install
npm i mouse-change
API
var l = require('mouse-change')([element, onchange(buttons,x,y,mods)])
Listens for any mouse state changes on the given element.
elementis an optional elementonchange(buttons,x,y,mods)is an optional callback which gets called every time that the mouse state changes insideelementbuttonsis the state of the mouse buttonsxis the x coordinate of the mouseyis the y coordinate of the mousemodsis an object storing the state of any key modifiersmods.shiftis the state of the shift keymods.altis the state of then alt keymods.controlis the state of the control keymods.metais the state of the meta key
Returns A new listener object which can be used to configure the listener.
l.enabled
Toggles whether or not
l.x
The x coordinate of the mouse
l.y
The y coordinate of the mouse
l.buttons
The button state of the mouse
l.mods
The current state of the keyboard modifiers
License
(c) 2015 Mikola Lysenko. MIT License