Package Exports
- ulia
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 (ulia) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
项目常用函数库
函数名:prefixStyle
功 能:使用js追加适配当前浏览器DOM对象样式属性前缀
const animation = prefixStyle('animation')
eleObject.style[animation] = 'Ani 6s infinite'
eleObject.style['animation'] = 'Ani 6s infinite'备 注:在浏览器控制台里键入如下代码,查看当前浏览器前缀情况:
document.createElement('div').style