|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
<svelte:options immutable/>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { afterUpdate } from 'svelte';
|
|
|
|
import { afterUpdate } from 'svelte';
|
|
|
|
import flash from './flash.js';
|
|
|
|
import flash from './flash.js';
|
|
|
|
@ -12,8 +14,6 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<svelte:options immutable/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- the text will flash red whenever
|
|
|
|
<!-- the text will flash red whenever
|
|
|
|
the `todo` object changes -->
|
|
|
|
the `todo` object changes -->
|
|
|
|
<div bind:this={div} on:click>
|
|
|
|
<div bind:this={div} on:click>
|
|
|
|
@ -25,4 +25,4 @@
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: 1.5;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|