From c6c9d047794f7b7d74f6953c7bb471ee443371a9 Mon Sep 17 00:00:00 2001 From: jayce-leathers Date: Fri, 8 Sep 2017 12:46:29 -0400 Subject: [PATCH] documentation change --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13971ec..6cafd14 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ class MyComponentWithSound extends React.Component { * *volume (number)*: The current sound's volume. A value between 0 and 100. * *autoLoad (boolean)*: If the sound should start loading automatically (defaults to `false`). * *onLoading (function)*: Function that gets called while the sound is loading. It receives an object with properties `bytesLoaded`, `bytesTotal` and `duration`. -* *onLoad (function)*: Function that gets called after the sound has finished loading. It receives an object with property `success`. +* *onLoad (function)*: Function that gets called after the sound has finished loading. It receives an object with property `loaded`, a boolean set to true if the sound has finished loading successfully. * *onPlaying (function)*: Function that gets called while the sound is playing. It receives an object with properties `position` and `duration`. * *onPause (function)*: Function that gets called when the sound is paused. It receives an object with properties `position` and `duration`. * *onResume (function)*: Function that gets called while the sound is resumed playing. It receives an object with properties `position` and `duration`.