mardi 5 mars 2019

How to add a propertie with Vue.JS

I want to add this propertie to my button element:

uk-toggle="target: #id"

So, the result must be:

<button uk-toggle="target: #id" type="button">Click</button>

But I need to do that with Vue.JS and I don't know how, I'm trying with this:

<button v-bind: uk-toggle= "target: 'movie.title'" type="button">

But it doesn't works, so.. any ideas? thanks




Aucun commentaire:

Enregistrer un commentaire