-
Notifications
You must be signed in to change notification settings - Fork 0
TransformationController.js
deployment script via Travis CI edited this page Feb 25, 2020
·
4 revisions
Adds an mousemove eventListener for each DOM element that matches the criteria. Defines how the element should be transformed in case of a mousemove and what should happen afterwards
Kind: global function
Param | Type | Default | Description |
---|---|---|---|
[transformationFunction] | function |
(o, m)=>'none' |
returns a css transformation string. params: absolute transformation origin and mouse position, both in arrays. See {TransformationFunctions} for examples and predefined functions |
[additionalFilter] | string |
"'*'" |
css query that has to apply additionaly to the one passed in the constructor |
[postFunction] | function |
(event, element)=>{} |
optional function that runs after the transformation is sucessfully handeled internally. See {PostTransformFunctions} for examples and predefined functions. |
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.