Package Exports
- style-utils
- style-utils/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (style-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
style-utils
tween-one 和 scroll-anim, queue-anim 的样式
color 和 transform 的分解..
mergeStyle(current, change)
mergeStyle('translate(30px,50em)', 'translateY(20em)') => translate(30px, 20em)
getParam(current, change, data)
getParam('rotateX(30deg)', 'rotateX(100deg)', 40) => rotateX(40deg)
懒得写,,反正自用....