Vue: How to manipulate a html attribute without value like 'readonly'?

Created on 23 Nov 2015  ·  1Comment  ·  Source: vuejs/vue

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

RashadSaleh picture RashadSaleh  ·  51Comments

yyx990803 picture yyx990803  ·  48Comments

karevn picture karevn  ·  42Comments

okjesse picture okjesse  ·  49Comments

ecmel picture ecmel  ·  52Comments