Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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.
Instances
PToJSVal IntersectionObserver Source # | |
Defined in JSDOM.Types pToJSVal :: IntersectionObserver -> JSVal # | |
PFromJSVal IntersectionObserver Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> IntersectionObserver # | |
ToJSVal IntersectionObserver Source # | |
Defined in JSDOM.Types toJSVal :: IntersectionObserver -> JSM JSVal # toJSValListOf :: [IntersectionObserver] -> JSM JSVal # | |
FromJSVal IntersectionObserver Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe IntersectionObserver) # fromJSValUnchecked :: JSVal -> JSM IntersectionObserver # fromJSValListOf :: JSVal -> JSM (Maybe [IntersectionObserver]) # fromJSValUncheckedListOf :: JSVal -> JSM [IntersectionObserver] # | |
MakeObject IntersectionObserver Source # | |
Defined in JSDOM.Types makeObject :: IntersectionObserver -> JSM Object # | |
IsGObject IntersectionObserver Source # | |
Defined in JSDOM.Types |