You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SwiftTooltipKit/Tooltip+Configuration.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,10 @@ public extension Tooltip {
49
49
publicvardismissAutomatically:Bool=false
50
50
/// If `dismissAutomatically`is set to true, this can be used to set the time interval after which the tooltip is dismissed. Defaults to `2.5` seconds.
51
51
publicvartimeToDimiss:TimeInterval=2.5
52
+
/// Optional Callback that is executed when the tooltip is dismissed.
53
+
publicvaronDismiss:(()->Void)?=nil
54
+
/// Optional Callback that is executed when the tooltip is shown.
0 commit comments