]>
Commit | Line | Data |
---|---|---|
1 | <script> | |
2 | export let x; | |
3 | export let y; | |
4 | export let size; | |
5 | export let isActive; | |
6 | ||
7 | import { countElements } from '$lib/stores/widgets'; | |
8 | </script> | |
9 | ||
10 | <td class={isActive ? 'active' : ''} /> | |
11 | ||
12 | <style> | |
13 | td { | |
14 | width: 4px; | |
15 | height: 4px; | |
16 | border: 1px solid black; | |
17 | } | |
18 | ||
19 | td.active { | |
20 | border: 2px solid cyan; | |
21 | } | |
22 | </style> |