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
Event dispatching is not done in the right order?
julianxhokaxhiu
·
3
Comments
Checkbox shows checked when v-model is false
loki0609
·
3
Comments
checkboxes with array model
robertleeplummerjr
·
3
Comments
关于 form 的 reset 功能
lmnsg
·
3
Comments
$vm.$delete('object.key') doesn't work
franciscolourenco
·
3
Comments
Most helpful comment
Just bind it with
v-bind. If the bound value is falsy the attribute is removed.