MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / removeHeight

Function removeHeight

src/sidebarApps/extensions/index.js:720–725  ·  view source on GitHub ↗

* Remove height styles from an element * @param {HTMLElement} $el * @param {Boolean} collapse

($el, collapse = false)

Source from the content-addressed store, hash-verified

718 * @param {Boolean} collapse
719 */
720function removeHeight($el, collapse = false) {
721 if (collapse) $el.collapse?.();
722
723 $scrollableLists.delete($el);
724 updateStyle();
725}
726
727/**
728 * Change the height of an element

Callers 1

updateHeightFunction · 0.85

Calls 2

updateStyleFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected