Closed MrRaindrop closed 6 years ago
https://github.com/weexteam/weex-vue-precompiler/commit/d5303967eabcefee67ffb9dcc16c98285d0fa285 has added multiple cases for this style-binding expression. Here's the typical supported cases: https://github.com/weexteam/weex-vue-precompiler/blob/master/test/input/hooks/style-binding.vue
Currently not support binding style with methods like
:style="someMethod()"
. Here's a example:The substitute for this is using computed values instead of methods: