build version 400

This commit is contained in:
Mohit Panjwani
2020-12-02 17:54:08 +05:30
parent 326508e567
commit 89ee58590c
963 changed files with 62887 additions and 48868 deletions

View File

@ -11,7 +11,7 @@ Vue.directive('click-outside', {
},
unbind: function (el) {
document.body.removeEventListener('click', el.event)
}
},
})
Vue.directive('autoresize', {
@ -19,12 +19,12 @@ Vue.directive('autoresize', {
el.style.height = el.scrollHeight + 'px'
el.style.overflow.y = 'hidden'
el.style.resize = 'none'
function OnInput () {
function OnInput() {
this.style.height = 'auto'
this.style.height = (this.scrollHeight) + 'px'
this.style.height = this.scrollHeight + 'px'
this.scrollTop = this.scrollHeight
window.scrollTo(window.scrollLeft, (this.scrollTop + this.scrollHeight))
window.scrollTo(window.scrollLeft, this.scrollTop + this.scrollHeight)
}
el.addEventListener('input', OnInput, false)
}
},
})