svelte-splide icon indicating copy to clipboard operation
svelte-splide copied to clipboard

Missing event 'ready'

Open scarlachs opened this issue 2 years ago • 0 comments

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Svelte Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

0.2.9

Description

I'm currently testing SplideJS for Svelte (SvelteKit) and I am missing the event 'ready', which is available for the default splide but not for the svelte-splide. Even though it says "You can listen to all Splide events through the Splide component." on the documentation.

Reproduction Link

No response

Steps to Reproduce

  1. Create a Splide Component inside Svelte
  2. Add "on:ready" to the component as "<Splide on:ready={ e => { console.log( e.detail.splide ) } }>"
  3. Open the console, as you see, you see nothing

Expected Behaviour

To log the splide when slider is ready

scarlachs avatar Aug 06 '23 19:08 scarlachs