Function
addDiv
(parentElement, className)
Source from the content-addressed store, hash-verified
| 6848 | return el; |
| 6849 | } |
| 6850 | function addDiv(parentElement, className) { |
| 6851 | const div = addEl("div", parentElement); |
| 6852 | if (className) div.className = className; |
| 6853 | return div; |
| 6854 | } |
| 6855 | function outerSize(el) { |
| 6856 | const cs = getComputedStyle(el); |
| 6857 | const height = parseFloat(cs.marginTop) + parseFloat(cs.paddingTop) + parseFloat(cs.borderTopWidth) + el.offsetHeight + parseFloat(cs.borderBottomWidth) + parseFloat(cs.paddingBottom) + parseFloat(cs.marginBottom); |
Callers
nothing calls this directly
Tested by
no test coverage detected