Is it possible to access other properties of the same element using a different property in Vue.js?
For example:
Rather than writing it like this:
<kpi title="some_kpi" v-if="displayed_kpi==='some_kpi'"></kpi>
Is there a way to achieve something like this instead:
<kpi title="some_kpi" v-if="displayed_kpi===title"></kpi>
This would mean accessing the value of the title property within the v-if condition of the same tag. (Clearly, this approach does not work as intended.) Is there a method to accomplish this?