screen_rotation
Copied to Clipboard
<html> <head> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> </head> <body> <div id="app"> <h3>Vue Js @onchange Event </h3> <input @change="myInput" /> </div> <script type="module"> const app = new Vue({ el: "#app", methods: { myInput(event) { alert(event.target.value) } } }); </script> </body> </html>