autoresize textarea

This commit is contained in:
Alex Turchyn
2023-07-01 01:09:44 +03:00
parent 50e9222216
commit e55b5b47cd
4 changed files with 29 additions and 5 deletions
+2
View File
@@ -13,6 +13,7 @@ import DynamicList from './elements/dynamic_list'
import DownloadButton from './elements/download_button'
import SetOriginUrl from './elements/set_origin_url'
import SetTimezone from './elements/set_timezone'
import AutoresizeTextarea from './elements/autoresize_textarea'
document.addEventListener('turbo:before-cache', () => {
window.flash?.remove()
@@ -34,6 +35,7 @@ window.customElements.define('dynamic-list', DynamicList)
window.customElements.define('download-button', DownloadButton)
window.customElements.define('set-origin-url', SetOriginUrl)
window.customElements.define('set-timezone', SetTimezone)
window.customElements.define('autoresize-textarea', AutoresizeTextarea)
window.customElements.define('template-builder', class extends HTMLElement {
connectedCallback () {