SubviewsParallaxMode
public enum SubviewsParallaxMode
Modes of parallax motion effect that will be used for the subviews of the parallax view
-
Subview deeper on the hierarchy moves more depending on its index.
@param Double Deepest view on the hierarchy will have this maximum movement offset @param Double Jump between successive values can be adjusted by multipler. Param is optional, default it will be equal to 1.0
Declaration
Swift
case basedOnHierarchyInParallaxView(maxParallaxOffset: Double, multipler: Double?)
-
Tag value will be used as maximum offset for parallax effect of the subview. Each view can be individually adjusted by the tag property
Declaration
Swift
case basedOnTag
-
No parallax animation will be added to subviews of the parallax view
Declaration
Swift
case none