1
I have a list of buttons...
<button @click="chamaEstilo($event)" :data-el="index" class="buttonEstilo" v-for="(item, index) in filteredList" :key="index" v-if="verificaRestricao(item)" >
{{index}}
</button>
I’d like you to print out the {{index}}
in the formatting pattern of HTML tags for components, that is, if you send a string with the value fontsize should print font-size and so for all occurrence of maíusculas...
Index prints css properties, some with the name in camelCasel, example, (borderLeft, fontsize) wanted to print them normally (border-left, font-size)
– Felipe Duarte