BigW Consortium Gitlab

autosize.js 222 Bytes
Newer Older
1
import autosize from 'vendor/autosize';
Fatih Acet committed
2

3 4
document.addEventListener('DOMContentLoaded', () => {
  const autosizeEls = document.querySelectorAll('.js-autosize');
Fatih Acet committed
5

6 7
  autosize(autosizeEls);
  autosize.update(autosizeEls);
8
});