docs: change dispatched events label

Svelte dispatches `event.detail` and not plural `event.details`.
This commit is contained in:
Enrico Sacchetti 2023-01-01 10:55:28 -05:00
commit 8c5ac46c64
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796

View file

@ -173,7 +173,7 @@
<StructuredListHead>
<StructuredListRow>
<StructuredListCell>Event name</StructuredListCell>
<StructuredListCell><code>event.details</code> type</StructuredListCell>
<StructuredListCell><code>event.detail</code> type</StructuredListCell>
{#if hasDescription}
<StructuredListCell>Description</StructuredListCell>
{/if}