Skip to content

Commit

Permalink
fix: set transform method
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Dec 2, 2019
1 parent 7ea8892 commit f681da1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/taro-h5/src/api/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ function inlineStyle (style) {
}

function setTransform (el, val) {
el.style.webkitTransform = val
el.style.transform = val
el.style.OTransform = val
el.style.msTransform = val
el.style.MozTransform = val
el.style.WebkitTransform = val
}

function isFunction (obj) {
Expand Down

0 comments on commit f681da1

Please sign in to comment.