Skip to content

Commit a864f55

Browse files
committed
Updated README with Bounce Information
1 parent 0c86c00 commit a864f55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ Here's a quick list of the built in animations:
161161
###Stretchy Drawer
162162
By default, the side drawer will stretch if the user pans past the maximum drawer width. This gives a playful stretch effect. You can disable this by setting `shouldStretchDrawer` to NO, or you can make your own overshoot animation by creating a custom visual state block and setting up custom transforms for when percentVisible is greater than 1.0
163163

164+
###Bounce Preview
165+
To make your side drawer more discoverable, it may be helpful to bounce the drawer the first time your user launches the app. You can use the `bouncePreviewForDrawerSide:completion:` method to easily do this.
166+
167+
If you would like to bounce a custom distance, you can use `bouncePreviewForDrawerSide:distance:completion:`.
168+
164169
###Nifty Example
165170
We decided to spruce up the example a bit using graphics generated from PaintCode. Hope you like it.
166171

0 commit comments

Comments
 (0)