for instance:
<body>
<div id="app">
<ro-weview id="wv" src="http://google.com"></ro-weview>
</div>
<script>
(function () {
Vue.component("ro-webview", {
props: ["src"],
template: `
<input type="text" class="form-control" style="border-color: #ccc;outline: none; box-shadow: none !important; " :value="src"/>
<iframe :src="src"/>
</div>`
})
})()
new Vue({el: "#app"})
setVueProp("#wv", "src", "http://bing.com")
</script>
</body>
I am seeking to use #setVueProp to change the ro-webview src, how can I achieve this? I understand that by using JavaScript, I can access an iframe and change its src, but my goal is to alter the prop for the ro-webview instance.