This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
vuejs_course/2021-01-18 basics-assignmen.../app.js

24 lines
481 B
JavaScript

"use strict";
const app = Vue.createApp({
data() {
return {
firstInputValue: "",
secondInputValue: "",
};
},
methods: {
showAlert() {
alert("Some alert");
},
updateFirstOutput(event) {
this.firstInputValue = event.target.value;
},
updateSecondOutput(event) {
this.secondInputValue = event.target.value;
},
},
});
app.mount("#assignment");