Skip to content

Commit 900de2b

Browse files
committed
docs: update README
1 parent b686461 commit 900de2b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,15 @@ import "1llest-waveform-vue/lib/style.css"
155155

156156
> When using the following events, you need to add the `on-` prefix in front, such as `@on-init="initHandler"`
157157
158-
| event | description | params |
159-
| :----- | :----------------------------------------------------------- | :----------------- |
160-
| init | the hook event before the waveform starts to initialize | `Boolean` |
161-
| ready | the hook event triggered after the waveform completes all initialization and rendering to the page | `Boolean` |
162-
| play | event fired when playback starts | `Boolean` |
163-
| pause | event fired when playback is paused | `Boolean` |
164-
| finish | the event triggered when the playback is completed (the playback completion refers to the completion of the entire audio) | `Boolean` |
165-
| click | event triggered when waveform is clicked | `Ref<HTMLElement>` |
158+
| event | description | params |
159+
| :------ | :----------------------------------------------------------- | :----------------- |
160+
| init | the hook event before the waveform starts to initialize | `Boolean` |
161+
| fetched | the hook event after accepting the audio file | `Boolean` |
162+
| ready | the hook event triggered after the waveform completes all initialization and rendering to the page | `Boolean` |
163+
| play | event fired when playback starts | `Boolean` |
164+
| pause | event fired when playback is paused | `Boolean` |
165+
| finish | the event triggered when the playback is completed (the playback completion refers to the completion of the entire audio) | `Boolean` |
166+
| click | event triggered when waveform is clicked | `Ref<HTMLElement>` |
166167

167168
### Methods
168169

0 commit comments

Comments
 (0)