[Vuejs]-Bootstrap modal id use in vue.js method for show and hide modal

0👍

You can use document.getElementById(‘BlogModal’) or you can give a ref to your modal as below.

<input ref="input" />

Access to DOM from script tags:
this.$refs.input

Leave a comment