ResizeManager constructor
Whether we should add elements to our resizeObserver or not
Array of entries
ResizeObserver used
Set shouldWatch.
whether to watch or not.
Track an HTMLElement size change and execute a callback function when it happens.
entry to watch.
Unobserve an HTMLElement and remove it from our entries array.
HTMLElement to unobserve.
Destroy our ResizeManager.
Tiny wrapper around ResizeObserver used to execute callbacks when given HTMLElement size changes.