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: BoolA flag indicating whether the Widget should utilize Animated Thumbnails behavior.
If used, please see the animated presets:
BlazeWidgetLayout.Presets.StoriesWidget.Row.animatedThumbnailsCirclesBlazeWidgetLayout.Presets.StoriesWidget.Row.verticalAnimatedThumbnailsRectanglesBlazeWidgetLayout.Presets.MomentsWidget.Row.verticalAnimatedThumbnailsRectanglesBlazeWidgetLayout.Presets.VideosWidget.Row.verticalAnimatedThumbnailsRectanglesBlazeWidgetLayout.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
isEnabledis applicable only to Row widgets. Grid and single-item layouts don't play animated thumbnails.
horizontalAnimationTriggerPercentage
var horizontalAnimationTriggerPercentage: CGFloatThe 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.
Updated about 9 hours ago
