Update html to svelte(remaining ones)

pull/8289/head
Puru Vijay 4 years ago
parent 11a0b471a7
commit d7c1a951d4

@ -6,7 +6,7 @@ Similar to `<svelte:window>`, the `<svelte:document>` element allows you to list
Add the `selectionchange` handler to the `<svelte:document>` tag:
```html
```svelte
<svelte:document on:selectionchange={handleSelectionChange} />
```

@ -6,7 +6,7 @@ Similar to `<svelte:window>` and `<svelte:document>`, the `<svelte:body>` elemen
Add the `mouseenter` and `mouseleave` handlers to the `<svelte:body>` tag:
```html
```svelte
<svelte:body
on:mouseenter={handleMouseenter}
on:mouseleave={handleMouseleave}

Loading…
Cancel
Save