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
Instance $dispatch won't return the value
hiendv
路
3
Comments
$vm.$delete('object.key') doesn't work
franciscolourenco
路
3
Comments
How about add some hooks to 'v-on' directive, such as 'before' and 'after'
Jokcy
路
3
Comments
[Suggestion] Vue 2.0 - vm.$appendTo - singleton components
paulpflug
路
3
Comments
Vue updating data before or after click event depending on browser
loki0609
路
3
Comments
Most helpful comment
Just bind it with
v-bind. If the bound value is falsy the attribute is removed.