Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Baianater authored Oct 23, 2020
1 parent 33a2593 commit aceebe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The defualt behavoir is for the button to shrink into a circule with the spinner
<img src="https://github.com/baianat/SpinningButton/blob/main/Assets/gifLeading.gif">
</p>

* Alternatively, you can Customize the offset from the bottom edge as well as the title displayed while the spinner is animating, just as follows...
* Alternatively, you can customize the offset from the leading edge as well as the title displayed while the spinner is animating, just as follows...
``` swift
spinningButton.startAnimating(at: .leading(offset: 15, titleWhileLoading: "Loading"))
```
Expand All @@ -100,7 +100,7 @@ The defualt behavoir is for the button to shrink into a circule with the spinner
<img src="https://github.com/baianat/SpinningButton/blob/main/Assets/gifTrailing.gif">
</p>

* Alternatively, you can Customize the offset from the bottom edge as well as the title displayed while the spinner is animating, just as follows...
* Alternatively, you can customize the offset from the trailing edge as well as the title displayed while the spinner is animating, just as follows...
``` swift
spinningButton.startAnimating(at: .trailing(offset: 15, titleWhileLoading: "Loading"))
```
Expand Down

0 comments on commit aceebe9

Please sign in to comment.