You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The runLoopMode when animation is playing on. Defaults is `.common`
662
+
/// You can specify a runloop mode to let it rendering.
663
+
/// - Note: This is useful for some cases, for example, always specify NSDefaultRunLoopMode, if you want to pause the animation when user scroll (for Mac user, drag the mouse or touchpad)
664
+
/// - Parameter runLoopMode: The runLoopMode for animation
/// Whether or not to pause the animation (keep current frame), instead of stop the animation (frame index reset to 0). When the `isAnimating` binding value changed to false.
672
+
/// Defaults is true.
673
+
/// - Note: For some of use case, you may want to reset the frame index to 0 when stop, but some other want to keep the current frame index.
674
+
/// - Parameter pausable: Whether or not to pause the animation instead of stop the animation.
/// Whether or not to clear frame buffer cache when stopped.
682
+
/// Note: This is useful when you want to limit the memory usage during frequently visibility changes (such as image view inside a list view, then push and pop)
683
+
/// - Parameter clearBufferWhenStopped: Whether or not to clear frame buffer cache when stopped.
0 commit comments