Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.