blob: 8ef6792b0f9ec3d90ff62b71a8c4f85289520f6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<script>
import EventCapture from '$lib/swatch/event-capture.svelte.js';
import ChangePassword from '$lib/components/ChangePassword.svelte';
import EventLog from '$lib/components/swatch/EventLog.svelte';
let capture = $state(new EventCapture());
const changePassword = capture.on('changePassword');
</script>
<h1><code>ChangePassword</code></h1>
<nav><p><a href=".">Back to swatches</a></p></nav>
<h2>rendered</h2>
<div class="component-preview">
<ChangePassword {changePassword} />
</div>
<h2>events</h2>
<EventLog events={capture.events} clear={capture.clear.bind(capture)} />
|