submit: function()

in manual-emulator-testing/public/index.js [46:54]


    submit: function () {
      console.log("Adding message...");
      db.collection("messages").add({
        text: this.msgInput,
        time: firebase.firestore.FieldValue.serverTimestamp(),
      });

      this.msgInput = "";
    },