GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemImageAnimatedThumbnailStyle - iOS

The BlazeWidgetItemImageAnimatedThumbnailStyle class represents the configuration for the animated thumbnail style.

Limitation: Animated GIF thumbnails are supported only on Row widgets (Stories, Moments and Videos).

Properties

isEnabled

var isEnabled: Bool

A flag indicating whether the Widget should utilize Animated Thumbnails behavior.
If used, please see the animated presets:

  • BlazeWidgetLayout.Presets.StoriesWidget.Row.animatedThumbnailsCircles
  • BlazeWidgetLayout.Presets.StoriesWidget.Row.verticalAnimatedThumbnailsRectangles
  • BlazeWidgetLayout.Presets.MomentsWidget.Row.verticalAnimatedThumbnailsRectangles
  • BlazeWidgetLayout.Presets.VideosWidget.Row.verticalAnimatedThumbnailsRectangles
  • BlazeWidgetLayout.Presets.VideosWidget.Row.horizontalAnimatedThumbnailsRectangles

One item animates at a time. Items without an animated thumbnail keep showing their static thumbnail.

A row with .squareIcon thumbnails (circles) scrolls freely, while other animated rows settle with an item at their leading edge.

  • Note isEnabled is applicable only to Row widgets. Grid and single-item layouts don't play animated thumbnails.

horizontalAnimationTriggerPercentage

var horizontalAnimationTriggerPercentage: CGFloat

The percentage of the widget's width at which the animation is triggered.
This constant represents the threshold, expressed as a percentage of the widget's width, that determines when an animation should be triggered during horizontal scrolling in the BlazeWidgetView.


Did this page help you?