Skip to content

Commit

Permalink
Clarify keyframeOptions in motion (#4234)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohk committed Sep 28, 2023
1 parent 7175d11 commit 47c6c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/labs/motion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The directive supports a number of options:

| Option | Usage |
| --------------- | -------------------------------------------------------------------------------------------------------------- |
| keyframeOptions | configure animation via standard KeyframeAnimationOptions |
| keyframeOptions | configure animation via the [KeyframeEffect Options](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect#parameters) from the Web Animation API. |
| properties | list of properties to animate, defaults to ['left', 'top','width', 'height', 'opacity', 'color', 'background'] |
| disabled | disables animation |
| guard | function producing values that must change for the `animate` to run |
Expand Down

0 comments on commit 47c6c90

Please sign in to comment.