Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newAnimation :: (MonadDOM m, IsAnimationEffect effect, IsAnimationTimeline timeline) => Maybe effect -> Maybe timeline -> m Animation
- getEffect :: MonadDOM m => Animation -> m (Maybe AnimationEffect)
- getEffectUnsafe :: (MonadDOM m, HasCallStack) => Animation -> m AnimationEffect
- getEffectUnchecked :: MonadDOM m => Animation -> m AnimationEffect
- getTimeline :: MonadDOM m => Animation -> m (Maybe AnimationTimeline)
- getTimelineUnsafe :: (MonadDOM m, HasCallStack) => Animation -> m AnimationTimeline
- getTimelineUnchecked :: MonadDOM m => Animation -> m AnimationTimeline
- newtype Animation = Animation {
- unAnimation :: JSVal
- gTypeAnimation :: JSM GType
Documentation
newAnimation :: (MonadDOM m, IsAnimationEffect effect, IsAnimationTimeline timeline) => Maybe effect -> Maybe timeline -> m Animation Source #
getEffectUnsafe :: (MonadDOM m, HasCallStack) => Animation -> m AnimationEffect Source #
getEffectUnchecked :: MonadDOM m => Animation -> m AnimationEffect Source #
getTimeline :: MonadDOM m => Animation -> m (Maybe AnimationTimeline) Source #
getTimelineUnsafe :: (MonadDOM m, HasCallStack) => Animation -> m AnimationTimeline Source #
getTimelineUnchecked :: MonadDOM m => Animation -> m AnimationTimeline Source #
Functions for this inteface are in JSDOM.Animation.
Instances
PToJSVal Animation Source # | |
Defined in JSDOM.Types | |
PFromJSVal Animation Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Animation # | |
ToJSVal Animation Source # | |
FromJSVal Animation Source # | |
MakeObject Animation Source # | |
Defined in JSDOM.Types makeObject :: Animation -> JSM Object # | |
IsGObject Animation Source # | |
Defined in JSDOM.Types |