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.
13 lines
844 B
13 lines
844 B
# has-passive-events [](http://github.com/badges/stability-badges) [](https://travis-ci.org/dfcreative/has-passive-events)
|
|
|
|
Check if event listener options are available on the current device. [Try it out](http://dfcreative.github.io/has-passive-events/).
|
|
|
|
[](https://npmjs.org/package/has-passive-events/)
|
|
|
|
```js
|
|
const hasPassive = require('has-passive-events')
|
|
|
|
hasPassive ? element.addEventListener('wheel', handler, {passive: true}) : element.addEventListener('wheel', handler)
|
|
```
|
|
|
|
If you find edge case, please address [issues](https://github.com/dfcreative/has-passive-events/issues).
|
|
|