The custom event handler should be renamed from `on:ready` to `onready` to match [Svelte 5 syntax](https://svelte-5-preview.vercel.app/docs/event-handlers).