I've stumbled upon a problem recently, to which i've found a temporary solution.
I'd like to know whether it's possible to write a statement like,
If(a>b)
in HTML... i'm currently working in Vue.js, and i've found a temporary solution in "v-if" with &, ||, ! operators, but greater than or less than doesn't work(which is a permanent solution to my problem).
Here's my temporary solution:-
v-if="models[0].paidDate.contains('2018') || models[0].paidDate.contains('2019') || models[0].paidDate.contains('2017')"
Any help will be greatly appreciated.
Aucun commentaire:
Enregistrer un commentaire