This module will take the f1-dom module and "oldify" it. For instance instead of running css 3d transforms it will emulate the same through ie filter operations on older versions of ie.
- Webkit renders perspective transforms differently so visually some elements do not match 100%
- Older ie browsers do not support perspective transformations so 3d rotations are mimiced through skews. This means rotations do not look correct but will look similar.
- Older ie browsers do not support rgba background colours so alpha is currently bring ignored by f1-dom-oldify for colours.
This module expects
f1-dom to be a peer dependency so first do:
$ npm i f1-dom --save $ npm i f1-dom-oldify --save
Then in your source code you have two options.
Option #1 just require and use:
var f1 = ;var f1DomOldify = ;var ui =;
The above method is similar to using
Option #2 oldify
var f1 = ;var f1Dom = ;;var ui =;
The above method will modify
f1-dom to support older browsers. Most likely you'd perform a check that oldification should happen before doing it. For instance check if this is an old IE version then oldify.
MIT, see LICENSE.md for details.