Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraneous non-props attributes (ref-link) #146

Open
Hellense opened this issue Dec 29, 2023 · 1 comment
Open

Extraneous non-props attributes (ref-link) #146

Hellense opened this issue Dec 29, 2023 · 1 comment

Comments

@Hellense
Copy link

I'm trying to use the AvCircle component, hiding the controls and starting the audio from a custom play button. I'm attempting to use ref-link, but I'm encountering this error:

main.js:15 [Vue warn]: Extraneous non-props attributes (ref-link) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.

<audio ref="audioElement" @timeupdate="updateTime" preload="auto"></audio>
        <AVCircle ref-link="audioElement" :audio-controls="false" :outline-width="0" :progress-width="5"
            :outline-meter-space="5" :playtime="true" playtime-font="18px Monaco" />

Where am I going wrong? Is it correct to use 'ref-link'?
Thank you

@staskobzar
Copy link
Owner

@Hellense in ver 3 there is no ref-link
you can use composavle function to have more control on audio and canvas elements
Check this link:
https://github.com/staskobzar/vue-audio-visual/blob/master/src/components/AVCircle.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants