Vue: v-show allowing multiple boolean args

Created on 7 Aug 2015  路  2Comments  路  Source: vuejs/vue

Having the ability to have comma separated booleans or even multiple booleans with minimal logic (and/or) in a single v-show would be great.

Thanks for the awesome tool.

Most helpful comment

You can use inline expressions like (a && b) || c, if you need something more complex, consider using a computed property.

All 2 comments

You can use inline expressions like (a && b) || c, if you need something more complex, consider using a computed property.

Ah, thanks! I'll put a PR in the documentation noting this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gkiely picture gkiely  路  3Comments

julianxhokaxhiu picture julianxhokaxhiu  路  3Comments

loki0609 picture loki0609  路  3Comments

bfis picture bfis  路  3Comments

robertleeplummerjr picture robertleeplummerjr  路  3Comments