Copyright | (C) 2016-2025 David M. Johnson |
---|---|
License | BSD3-style (see the file LICENSE) |
Maintainer | David M. Johnson <code@dmj.io> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Miso.Lynx.Element.Image.Method
Contents
Description
Synopsis
- startAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action
- pauseAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action
- stopAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action
- resumeAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action
Methods
startAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action Source #
https://lynxjs.org/api/elements/built-in/image.html#startanimate
Starts an animation at the ID selected
startAnimation "someImageId" AnimationStarted AnimationError
pauseAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action Source #
https://lynxjs.org/api/elements/built-in/image.html#pauseanimation
Pauses an animation at the ID selected
pauseAnimation "someImageId" AnimationPauseed AnimationError
stopAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action Source #
https://lynxjs.org/api/elements/built-in/image.html#stopanimation
Stops an animation at the ID selected
stopAnimation "someImageId" AnimationStoped AnimationError
resumeAnimation :: MisoString -> action -> (MisoString -> action) -> Effect parent model action Source #
https://lynxjs.org/api/elements/built-in/image.html#resumeanimation
Resumes an animation at the ID selected
resumeAnimation "someImageId" AnimationResumeed AnimationError