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.
21 lines
544 B
21 lines
544 B
var mouse = require('../mouse')
|
|
|
|
var container = document.createElement('div')
|
|
container.style['background-color'] = '#f00'
|
|
container.style.width = '400px'
|
|
container.style.height = '400px'
|
|
container.innerHTML = '<p>Buttons: 0 x:0 y:0</p>'
|
|
document.body.appendChild(container)
|
|
|
|
container.onmousemove = function(ev) {
|
|
container.innerHTML =
|
|
'<p>Buttons: ' + mouse.buttons(ev) +
|
|
' x:' + mouse.x(ev) +
|
|
' y:' + mouse.y(ev) + '</p>'
|
|
}
|
|
|
|
window.oncontextmenu = function(ev) {
|
|
ev.stopPropagation()
|
|
ev.preventDefault()
|
|
return false
|
|
} |