Skip to content

Commit c6f8f0f

Browse files
committed
update readme for new destroy method
1 parent 748e35d commit c6f8f0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ Note: there is no option for the width of a waveform, the width will be determin
247247
* setWaveformClickCallback(waveformClickCallback: IWaveClickCallback): void, to add the click callback to the waveform (which will get triggered when the user clicks on the canvas of the waveform)
248248
* getWaveformClickCallback(): IWaveClickCallback, to get the current click callback
249249
* draw(range?: number): void, to tell the waveform to draw the peaks, if a range is set (must be a number between 0 and 100) the color of the peaks inside of the range percentage can get drawn using a different color to show the current playing progress of the sound (or song)
250+
* destroy(): void, tells the waveform visualizer to shutdown, which removes the click listener
250251

251252
## development: build
252253

0 commit comments

Comments
 (0)