Module
Web.ResizeObserver
- Package
- purescript-web-resize-observer
- Repository
- nsaunders/purescript-web-resize-observer
#ResizeObserver Source
data ResizeObserver
#ResizeObserverEntry' Source
type ResizeObserverEntry' x = { borderBoxSize :: x, contentBoxSize :: x, contentRect :: DOMRect, devicePixelContentBoxSize :: x, target :: Element }
#ResizeObserverSize Source
type ResizeObserverSize = { blockSize :: Number, inlineSize :: Number }
#resizeObserver Source
resizeObserver :: (Array ResizeObserverEntry -> ResizeObserver -> Effect Unit) -> Effect ResizeObserver
#observe Source
observe :: forall sub all. Nub all ResizeObserverOptions => Union sub ResizeObserverOptions all => Element -> Record sub -> ResizeObserver -> Effect Unit
#disconnect Source
disconnect :: ResizeObserver -> Effect Unit
- Modules
- Web.
ResizeObserver