From 14b774676b41fa3082cb6554ee2062aa7d773da9 Mon Sep 17 00:00:00 2001 From: Umberto Sonnino Date: Mon, 12 Jul 2021 12:03:04 +0100 Subject: [PATCH] Update README with camel case params --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1011ca8..edede78 100644 --- a/README.md +++ b/README.md @@ -94,13 +94,13 @@ export default Example; - `stateMachines?`: _(optional)_ Name of list of names of state machines to load. - `layout?`: _(optional)_ Layout object to define how animations are displayed on the canvas. See [Rive.js](https://github.com/rive-app/rive-wasm#layout) for more details. - `autoplay?`: _(optional)_ If `true`, the animation will automatically start playing when loaded. Defaults to false. -- `onload?`: _(optional)_ Callback that get's fired when the .rive file loads . -- `onloaderror?`: _(optional)_ Callback that get's fired when an error occurs loading the .riv file. -- `onplay?`: _(optional)_ Callback that get's fired when the animation starts playing. -- `onpause?`: _(optional)_ Callback that get's fired when the animation pauses. -- `onstop?`: _(optional)_ Callback that get's fired when the animation stops playing. -- `onloop?`: _(optional)_ Callback that get's fired when the animation completes a loop. -- `onstatechange?`: _(optional)_ Callback that get's fired when a state change occurs. +- `onLoad?`: _(optional)_ Callback that get's fired when the .rive file loads . +- `onLoadError?`: _(optional)_ Callback that get's fired when an error occurs loading the .riv file. +- `onPlay?`: _(optional)_ Callback that get's fired when the animation starts playing. +- `onPause?`: _(optional)_ Callback that get's fired when the animation pauses. +- `onStop?`: _(optional)_ Callback that get's fired when the animation stops playing. +- `onLoop?`: _(optional)_ Callback that get's fired when the animation completes a loop. +- `onStateChange?`: _(optional)_ Callback that get's fired when a state change occurs. #### opts