Re:VueStrap Bootstrap components built with Vue.js
by jaequery on Saturday June 18, 2016 @02:13AM
(#11927315)
i don't get why some of the attributes starts with : and some do not, like <sidebar :show.sync="showRight" placement="right" header="Title" :width="350">. these are the type of things that makes me cringe =/
[ Parent
| on HN ]
Re:VueStrap Bootstrap components built with Vue.js
by mosquito242 on Saturday June 18, 2016 @04:38AM
(#11927597)
that's vuejs shorthand for binding the attribute to a variable (or a js value).
i.e. show is bound to the value of showRight placement is read as "right" width is set to be the int 350.