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.
2021-01-18 20:45:21 +01:00
|
|
|
"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");
|