chai / assets /js /hooks /messages.js
jonatanklosko's picture
Add chat
0fea377
raw
history blame contribute delete
190 Bytes
const Messages = {
mounted() {
this.scroll();
},
updated() {
this.scroll();
},
scroll() {
this.el.scrollTop = this.el.scrollHeight;
},
};
export default Messages;