• McKlintock

    (@mcklintock)


    Hello,

    I’d like to have an option to disable the animation for a Ditty when it’s not inside the browser window view. This can be done with a “IntersectionObserver”. I could write some code myself, but not sure what function (if any) there is available for me to programmatically play/pause the animation. Can you tell me what function I can use for this? Or perhaps add this as an option to your plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Thanks for mentioning this functionality. I’ll take a look into myself and see if I can work something out.

Viewing 1 replies (of 1 total)

The topic ‘Pause animation when not in view’ is closed to new replies.