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
You can also build your own customization by implementing `AsyncButtonStyle` protocol.
194
194
195
-
Just like `ThrowableButtonStyle`, `AsyncButtonStyle` allows you to implement either `makeLabel`, `makeButton` or both to alterate the button look and behavior while loading is in progress.
195
+
Just like `ThrowableButtonStyle`, `AsyncButtonStyle` allows you to implement either `makeLabel`, `makeButton` or both to alter the button look and behavior while loading is in progress.
196
196
197
197
### External triggering
198
198
199
199
You might need to trigger the behavior behind a button with specific user actions, like when pressing the "Send" key on the virtual keyboard.
200
200
201
201
Therefore, to get free animated progress and errors behavior on your button, you can't just start the action of the button by yourself. You need the button to start it.
202
202
203
-
To do so, you need to set an unique identifier to your button:
203
+
To do so, you need to set a unique identifier to your button:
204
204
205
205
```swift
206
206
enumLoginViewButton: Hashable{
@@ -301,7 +301,7 @@ Available TaskProgress implementation are:
301
301
302
302
## Contribute
303
303
304
-
You are encouraged to contribute to this repository, by opening issues, or pull requests for bug fixes, improvement requests, or support. Suggestions for contributing:
304
+
You are encouraged to contribute to this repository, by opening issues, or pull requests for bug fixes, improvement requests, or support. Suggestions for contributions:
0 commit comments