You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| lineWidth | the width of each vertical line that makes up the waveform |`Number`|`0.5`|
155
-
| lineCap | the style at the end of each vertical line that makes up the waveform |`CanvasLineCap`|`round`|
156
-
| lineColor | the color of each vertical line that makes up the waveform |`String`|`#5e5e5e`|
157
-
| samplingRate | indicates your audio sampling rate. The larger the value, the more lines the waveform will present and the higher the accuracy. But this value is not recommended to be too large, because too large a value will slow down rendering efficiency, the recommended value is between ` 8000 - 44100 `|`Number`|`22050`|
158
-
| cursorWidth | indicates your cursor width |`Number`|`2`|
159
-
| cursorColor | the color of your cursor |`String`|`#fff`|
160
-
| maskColor | the color of the waveform mask layer |`String`|`#fff`|
161
-
| lazy | whether to enable lazy loading mode, if you want to display multiple waveforms as a list, this property is very useful |`Boolean`|`true`|
162
-
| skeleton | whether to enable the skeleton during waveform loading |`Boolean`|`true`|
163
-
| skeletonColor | the color of the skeleton |`String`|`#232323`|
164
-
| interact | indicates whether you want the user to interact with the waveform |`Boolean`|`true`|
165
-
| fade | achieve fade-in and fade-out effects when playing and pausing audio, this can give the user a smoother listening experience |`Boolean`|`true`|
| requestOptions | the object passed to the `fetch` request function |`RequestInit`| - |
155
+
| lineWidth | the width of each vertical line that makes up the waveform |`Number`|`0.5`|
156
+
| lineCap | the style at the end of each vertical line that makes up the waveform |`CanvasLineCap`|`round`|
157
+
| lineColor | the color of each vertical line that makes up the waveform |`String`|`#5e5e5e`|
158
+
| samplingRate | indicates your audio sampling rate. The larger the value, the more lines the waveform will present and the higher the accuracy. But this value is not recommended to be too large, because too large a value will slow down rendering efficiency, the recommended value is between ` 8000 - 44100 `|`Number`|`22050`|
159
+
| cursorWidth | indicates your cursor width |`Number`|`2`|
160
+
| cursorColor | the color of your cursor |`String`|`#fff`|
161
+
| maskColor | the color of the waveform mask layer |`String`|`#fff`|
162
+
| lazy | whether to enable lazy loading mode, if you want to display multiple waveforms as a list, this property is very useful |`Boolean`|`true`|
163
+
| skeleton | whether to enable the skeleton during waveform loading |`Boolean`|`true`|
164
+
| skeletonColor | the color of the skeleton |`String`|`#232323`|
165
+
| interact | indicates whether you want the user to interact with the waveform |`Boolean`|`true`|
166
+
| fade | achieve fade-in and fade-out effects when playing and pausing audio, this can give the user a smoother listening experience |`Boolean`|`true`|
0 commit comments