wffranco / vue-strap

Bootstrap components built with Vue.js
http://wffranco.github.io/vue-strap/
MIT License
338 stars 133 forks source link

What's the best way to show modal? #142

Closed iamvitali closed 7 years ago

iamvitali commented 7 years ago

If I pass :value="" and set it to true, then the modal shows up. However, once I click the close button on the modal, it does disappear (but the :value is still true!, so if I set it to true again - nothing happens). :/

iamvitali commented 7 years ago

Got it, didn't know you had your own wiki page - https://wffranco.github.io/vue-strap/#modal

Just needed the @cancel="cancelAction" that changes that variable. :)