<f7-list-item after=“no” … />
methods: {
… something …
if(true){
_this.$refs[id].after=“yes”;
}
}
how to?
<f7-list-item after=“no” … />
methods: {
… something …
if(true){
_this.$refs[id].after=“yes”;
}
}
how to?
You should do it in Vue way and bind that after
value to some context:
<f7-list-item :after="afterText" … />
And when you need to change it then just this.afterText = 'yes'