-
Notifications
You must be signed in to change notification settings - Fork 0
MouseShadowController.js
deployment script via Travis CI edited this page Feb 25, 2020
·
1 revision
Adds an mousemove eventListener for each DOM element that matches the criteria. Defines how the element should be shadowed in case of a mousemove and what should happen afterwards
Kind: global function
Param | Type | Default | Description |
---|---|---|---|
[shadowFunction] | function |
(o, m)=>'none' |
returns a css transformation string. params: array of mouse position (x, y). |
[additionalFilter] | string |
"'*'" |
css query that has to apply additionally to the one passed in the constructor |
[postFunction] | function |
(event, element)=>{} |
optional function that runs after the mouse shadow is successfully added internally. |
Attention: don't edit these files directly! They are auto-generated and pushed by Travis CI. Add your changes in the jsdoc comments in the code files.