JVFlowerMenuDelegate
public protocol JVFlowerMenuDelegate
Delegate declaration for the delegate
property of a JVFlower
menu.
-
Delegate function that gets called when a
Pedal
of aJVFlowerMenu
gets tapped.- Parameters:
- theMenu: The
JVFlowerMenu
that had one of itsPedal
’s tapped. - pedal: The
Pedal
that was tapped.
- theMenu: The
Declaration
Swift
func flowerMenuDidSelectPedalWithID(_ theMenu: JVFlowerMenu, pedal: Pedal)
Parameters
theMenu
The
JVFlowerMenu
that had one of itsPedal
’s tapped.pedal
The
Pedal
that was tapped. - Parameters:
-
Delegate function that gets called when the
JVFlowerMenu
expands. Expansion happens when the user taps theJVFlowerMenu
and it is not currently expanded.Declaration
Swift
func flowerMenuDidExpand()
-
Delegate function that gets called when the
JVFlowerMenu
collapses. TheJVFlowerMenu
collapses when the user taps it and it is currently expanded.Declaration
Swift
func flowerMenuDidRetract()