Skip to content

How can I change openDuration in CircleLiquidBaseView? #101

@jogunism

Description

@jogunism

Thank you the great component!
I'm very happy to find your job. It's very good!

I found some codes to change popup speed in your codes.

class CircleLiquidBaseView : ActionBarBaseView {
let openDuration: CGFloat = 0.6 // <- maybe this.
let closeDuration: CGFloat = 0.2
let viscosity: CGFloat = 0.65
var animateStyle: LiquidFloatingActionButtonAnimateStyle = .up
var color: UIColor = UIColor(red: 82 / 255.0, green: 112 / 255.0, blue: 235 / 255.0, alpha: 1.0) {
didSet {
engine?.color = color
bigEngine?.color = color
}
}
....

Would you tell me a way to customize this?
I'm writing with swift 3.
thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions