Resize of row/column is not working when below Split() is included directly in html with <script> tags, whereas it works perfectly fine when included as part separate js file.
Resize doesn't work when Split() is included in html within <script> tags
In the HTML case, your script is running before the elements have been created. To illustrate this, add console.log(document.querySelector('.vertical-gutter')); somewhere in the script tag
Resize of row/column is not working when below Split() is included directly in html with
<script>
tags, whereas it works perfectly fine when included as part separate js file.Resize doesn't work when
Split()
is included in html within<script>
tagsExample: https://jsfiddle.net/uca6wh0o/
Resize works when
Split()
is part of jshttps://jsfiddle.net/oskar/rcqkox3t/