We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4485b2b commit 7b7df5dCopy full SHA for 7b7df5d
src/components/IllestWaveform.vue
@@ -67,7 +67,7 @@ function lazyLoadHandler() {
67
renderTrigger.value = true
68
}
69
70
-// initialize
+// initialize handlers
71
const waveRef = ref<HTMLCanvasElement | null>(null)
72
const ready = ref<boolean>(false)
73
@@ -83,14 +83,12 @@ async function init(): Promise<void> {
83
emits('onReady', ready.value)
84
85
86
-// initialize web audio
87
async function initAudioController(): Promise<void> {
88
audioController = new AudioController(props)
89
await audioController.setupAudio()
90
watchIsFinish()
91
92
93
-// initialize wave canvas
94
async function initWave(): Promise<void> {
95
wave = new Wave(
96
waveRef.value as HTMLCanvasElement,
0 commit comments