[Vuejs]-Vue data target in components

-1๐Ÿ‘

I figured it out. Following worked:

'<a href="#" v-on:click="!directoryData.Loaded && $root.add(directoryData)" data-toggle="collapse" :data-target="\'#d\'+directoryData.DirectoryId">'

Leave a comment