miso-lynx
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Lynx.Element.Image.Method

Contents

Description

 
Synopsis

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