Following keeps throwing an error:
<th style="padding-right: 0px;" v-for="n in modelClustersList" colspan="{{modelClustersList.length}}">
Its kind of wierd I can use the {{modelClustersList.length}} other places. Is colspan somehow special in Vue?
use v-bind
directive to manuplate html attribute,
v-bind:colspan="modelClustersList.length"
shorthand:
:colspan="modelClustersList.length"
Refer Vue docs: https://vuejs.org/v2/guide/syntax.html#Attributes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With