docs/Structs/ScaleAndAlphaExpansion.html
public struct ScaleAndAlphaExpansion: SwipeExpanding
A scale and alpha expansion object drives the custom appearance of the effected actions during expansion.
`
default
`
Returns a ScaleAndAlphaExpansion instance with default expansion options.
Swift
public static var `default`: ScaleAndAlphaExpansion
`
duration
`
The duration of the animation.
Swift
public let duration: Double
`
scale
`
The scale factor used during animation.
Swift
public let scale: CGFloat
`
interButtonDelay
`
The inter-button delay between animations.
Swift
public let interButtonDelay: Double
`
init(duration:scale:interButtonDelay:)
`
Contructs a new ScaleAndAlphaExpansion instance.
Swift
public init(duration: Double = 0.15, scale: CGFloat = 0.8, interButtonDelay: Double = 0.1)
| duration |
The duration of the animation.
|
| scale |
The scale factor used during animation.
|
| interButtonDelay |
The inter-button delay between animations.
|
The new ScaleAndAlphaExpansion instance.
© 2018 Mohammad Kurabi. All rights reserved. (Last updated: 2018-05-26)
Generated by jazzy ♪♫ v0.8.4, a Realm project.