We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53b3987 + b00778a commit 3c2cf14Copy full SHA for 3c2cf14
1 file changed
README.md
@@ -130,6 +130,12 @@ The mode of the timer. default is stop watch.
130
```swift
131
public var mode: MGCountMode { get set }
132
```
133
+### `didStateChange`
134
+A callback that notifies when timer state did change.
135
+```swift
136
+public var didStateChange: ((MGStateManager.TimerState) -> Void)?
137
+```
138
+
139
# Obsreve
140
You can observe elapsed time in two ways. <br />
141
**First**: using `elapsedTime` property.
0 commit comments