-
Notifications
You must be signed in to change notification settings - Fork 0
PostTransformFunctions.js
Travis CI User edited this page Sep 24, 2018
·
1 revision
Sets the parent element's background to a combination of linear-gradients that comply with the borders of the transformed element. This can be used for example if the background of the element is partially transparent and should let through a background inside of the element but not outside.
Kind: global function
Todo
- finish example. How to dom elements in Node.js could be done with jsdom. What about MutationObserver? There are some polyfills. on that way it wouldn't only be for the test but also for the whole system. should be done after the transfromation classes and stuff are splitted to own repository.
Param | Type | Description |
---|---|---|
event | event |
event that caused the transformation |
element | TransformableElement |
element that was transformed |
Example
import TC from './TransformationController.js';
typeof TC // is equal to "function"
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.