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.
1 parent 0ebfdc5 commit b00778aCopy full SHA for b00778a
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