bleeping
coder
Projects
JavaScript
TypeScript
Python
C++
C#
Go
Vue: How to manipulate a html attribute without value like 'readonly'?
Created on 23 Nov 2015
·
1
Comment
·
Source:
vuejs/vue
Source
Most helpful comment
Just bind it with
v-bind
. If the bound value is falsy the attribute is removed.
>All comments
Just bind it with
v-bind
. If the bound value is falsy the attribute is removed.
Was this page helpful?
0
/ 5 -
0
ratings
Related issues
Await async component lifecycle hooks
RashadSaleh
·
51
Comments
HTML case sensitivity workaround
yyx990803
·
48
Comments
Dynamic v-model directive
karevn
·
42
Comments
希望keep-alive能增加可以动态删除已缓存组件的功能
okjesse
·
49
Comments
Add custom v-model modifiers
ecmel
·
52
Comments
Most helpful comment
Just bind it with
v-bind. If the bound value is falsy the attribute is removed.