Hi !
Is there a way to listen to an onChange event for PushRow, like AlertRow for example ?
Thanks again for your great work !
@havocked
Yes, All Eureka rows have the "same" callbacks since all must conforms to RowType.
Note that PushRow is a generic type....
<<< PushRow<Emoji>() {
$0.title = "PushRow"
$0.options = [馃拋馃徎, 馃崘, 馃懄馃徏, 馃悧, 馃惣, 馃惢]
$0.value = 馃懄馃徏
$0.selectorTitle = "Choose an Emoji!"
}.onChange {
print("Value = \($0.value)")
}
Let me know if this works for you.
Most helpful comment
@havocked
Yes, All Eureka rows have the "same" callbacks since all must conforms to
RowType.Note that PushRow is a generic type....
Let me know if this works for you.