export function getTransformPropValue ( v ) { return { transform : v , WebkitTransform : v , MozTransform : v , } ; } export function getPxStyle ( value , unit = 'px' , vertical = false ) { value = vertical ? `0px, ${ value }${ unit }, 0px` : `${ value }${ unit }, 0px, 0px` ; return `translate3d(${ value })` ; }