Skip to content

Commit 42cc94e

Browse files
committed
@slidy/animation - docs
1 parent 81be445 commit 42cc94e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/animation/README.MD

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ or from [CDN]:
3434

3535
Animation functions available via named import as `MJS/CJS` module or via global `Window.Slidy` object props as `IIFE`.
3636

37-
Includes `blur, deck, fade, flip, matrix, perspective, rotate, scale, shuffle, stairs, translate` as functions.
37+
Includes `fade, flip, matrix, rotate, scale, stairs, translate` & `blur, deck, shuffle` in progress as functions.
3838

3939
```ts
4040
type Options = {
@@ -133,8 +133,8 @@ type AnimationFunc = (args: AnimationArgs) => CSSStyleDeclaration;
133133
| :--------- | :-------- | :---------- |
134134
| `index` | `number` | Current active slide index |
135135
| `position` | `number` | Current position |
136-
| `vertical` | `number` | Children axis flow: `0 || Number` |
137-
| `reverse` | `number` | Children reverse flow: `-1 || 1` |
136+
| `vertical` | `number` | Children axis flow: `0` or any `Number` as `true` |
137+
| `reverse` | `number` | Children reverse flow: `-1` or `1` |
138138
| `snap` | `Snap` | Snapping side: `'start', 'center', 'end', 'deck', undefined` |
139139

140140

0 commit comments

Comments
 (0)