vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report][3.3.7] missing functions in the prototype ($ref)

Open CristiP19 opened this issue 2 years ago • 6 comments

Environment

Vuetify Version: 3.3.7 Vue Version: 3.3.4 Browsers: Chrome 119.0.0.0 OS: Windows 10

Steps to reproduce

  1. Create a v-slide-group with options
  2. add 2 separate buttons
  3. add a @click event on these buttons
  4. event = $ref.slideGroup.next() / $ref.slideGroup.prev()

Expected Behavior

in the API it says it should work but it doesn't work and shows error

Actual Behavior

Error: runtime-core.esm-bundler.js:221 Uncaught TypeError: _ctx.$refs.slideGroup.prev is not a function

Reproduction Link

https://play.vuetifyjs.com/#...

CristiP19 avatar Nov 13 '23 11:11 CristiP19

in the API it says it should work

No it doesn't

KaelWD avatar Nov 13 '23 11:11 KaelWD

in the API it says it should work

No it doesn't

image

CristiP19 avatar Nov 13 '23 11:11 CristiP19

That's <template #default="{ prev, next }">

KaelWD avatar Nov 13 '23 11:11 KaelWD

That's <template #default="{ prev, next }">

Ok, man. But how can i do that i need?

CristiP19 avatar Nov 13 '23 11:11 CristiP19

@KaelWD can you help please?

CristiP19 avatar Nov 14 '23 09:11 CristiP19

Ok, i use your example but how can i iterate the items i need @KaelWD

CristiP19 avatar Nov 14 '23 10:11 CristiP19