{ initialSidebarWidth = sidebarElem.offsetWidth; }} on:dragging={(e) => { sidebarWidth = initialSidebarWidth + e.detail.diffX + "px"; }} on:dragstop={() => { CommonHelper.triggerResize(); }} /> { if (e.detail?.isNew && e.detail.collection) { selectCollection(e.detail.collection); } }} />