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
Source:stackexchange.com
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