Releases: weexteam/vue-precompiler-for-apache-weex
Releases · weexteam/vue-precompiler-for-apache-weex
v0.1.19
v0.1.18
Improvements
- Support multiple expression cases in style-binding when injecting '_px2rem' to transform 'px' to 'rem'.
- Typical cases as follows:
<text :style="{'margin-left': '20px', 'marginBottom': '10px'}"></text>
<text :style="{ 'margin-left': myMargin + 'px' }"></text>
<text :style="myData.styles"></text>
<div :style="getStyles('div')"></div>
<div :style="isMyTheme ? { marginLeft: '20px' } : yourStyles"></div>
<div :style="isMyTheme ? myStyles : yourStyles"></div>