1.0.1 • Published 6 years ago
atd-hidden-height v1.0.1
ATD Hidden Height
Call the fucntion by passing a dom node of hidden element. Returns the height of the element.
Installation
npm install -S atd-hidden-height
Usage
import atdHiddenHeight from 'atd-hidden-height';
let hiddenElement = document.getElementById('my-element');
let height = atdHiddenHeight(hiddenElement);