Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newIntersectionObserver :: MonadDOM m => IntersectionObserverCallback -> Maybe IntersectionObserverInit -> m IntersectionObserver
- observe :: (MonadDOM m, IsElement target) => IntersectionObserver -> target -> m ()
- unobserve :: (MonadDOM m, IsElement target) => IntersectionObserver -> target -> m ()
- disconnect :: MonadDOM m => IntersectionObserver -> m ()
- takeRecords :: MonadDOM m => IntersectionObserver -> m [IntersectionObserverEntry]
- takeRecords_ :: MonadDOM m => IntersectionObserver -> m ()
- getRoot :: MonadDOM m => IntersectionObserver -> m (Maybe Element)
- getRootUnsafe :: (MonadDOM m, HasCallStack) => IntersectionObserver -> m Element
- getRootUnchecked :: MonadDOM m => IntersectionObserver -> m Element
- getRootMargin :: (MonadDOM m, FromJSString result) => IntersectionObserver -> m result
- getThresholds :: MonadDOM m => IntersectionObserver -> m [Double]
- newtype IntersectionObserver = IntersectionObserver {}
- gTypeIntersectionObserver :: JSM GType
Documentation
newIntersectionObserver :: MonadDOM m => IntersectionObserverCallback -> Maybe IntersectionObserverInit -> m IntersectionObserver Source #
disconnect :: MonadDOM m => IntersectionObserver -> m () Source #
takeRecords :: MonadDOM m => IntersectionObserver -> m [IntersectionObserverEntry] Source #
takeRecords_ :: MonadDOM m => IntersectionObserver -> m () Source #
getRootUnsafe :: (MonadDOM m, HasCallStack) => IntersectionObserver -> m Element Source #
getRootUnchecked :: MonadDOM m => IntersectionObserver -> m Element Source #
getRootMargin :: (MonadDOM m, FromJSString result) => IntersectionObserver -> m result Source #
getThresholds :: MonadDOM m => IntersectionObserver -> m [Double] Source #
newtype IntersectionObserver Source #
Functions for this inteface are in JSDOM.IntersectionObserver.