vuejs / Discussion

Vue.js discussion
167 stars 17 forks source link

How would you do a notFilterBy filter? #468

Closed Roadirsh closed 8 years ago

Roadirsh commented 8 years ago

Hello everyone, i'm looking to hide element in a v-for by a value in v-model, i saw the filterBy method but i would like to do the inverse. The filterBy method authorize a delimiter parameter but the source code only authorize 'in' and not 'not in' like i would like. (And the source code only say "because why not" ahah).

So, how would you do it ?