Skip to content

Commit

Permalink
Fix description of direction for mui-slide
Browse files Browse the repository at this point in the history
The description of the direction parameter for mui-slide states that this would be the side to slide from (`top`, `bottom` etc.). Did not work for me though ... after a short tour through the sources it turns out that it is actually the direction to *slide toward*, i.e., it takes the values `up`, `right`, `down` and `left`.
  • Loading branch information
Felix Heinrichs committed Jan 14, 2016
1 parent 154b3aa commit 65dbcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/transitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Creates a sliding transition by translating the element horizontally or vertical
**Parameters:**

- `state` (Keyword) - State to transition to. (**Default:** in)
- `direction` (Keyword) - Side of the element to slide from. Can be `top`, `right`, `bottom`, or `left`. (**Default:** left)
- `direction` (Keyword) - Direction to slide to. Can be `up`, `right`, `down`, or `left`. (**Default:** left)
- `amount` (Length) - Length of the slide as a percentage value. (**Default:** 100%)
- `fade` (Boolean) - Set to `true` to fade the element in or out simultaneously. (**Default:** false)
- `duration` (Duration) - Length (speed) of the transition. (**Default:** null)
Expand Down

0 comments on commit 65dbcbd

Please sign in to comment.