Skip to content
Advertisement

Tag: bootstrap-vue

Toggle sidebar from Vue method?

In a <b-table> I would like to create an action on each items so I have a button: Then I have a Form in a sidebar In my methods I would like to respond to the action: Of course, this last part is not valid. On Bootstrap Vue manual I didn’t find how to interact from Vue to Bootstrap components.

Need help for a Vue – BMI Calculator

I am learning Webdev with Vue. And in my project, I built a component to calculate the BMI of a person. I have created a form with bootstrap-vue to get the values I need. And now I need help for the JavaScript part. I just don’t know how to correct it. Formula I have used: Answer A few issues: The

Vue.js2 – Object.assign({}, this.var) preventing watch method

returning this.user (a global computed property) works as expected. Of course, I’m making a copy because I do not want to overwrite the actual user data. So, I’m using Object.assign. However, once I include return Object.assign({}, this.user) (opposed to this.user), the watch method no longer functions. Here is my template (I am using bootstrap-vue): So, this works and sets editsPending

Advertisement