Add .file class + Generator user agent

This commit is contained in:
venashial
2022-07-02 22:14:20 -07:00
parent 64ed5fca3b
commit f62723c274
19 changed files with 198 additions and 106 deletions

View File

@@ -2,17 +2,16 @@
<script lang="ts">
import { CheckboxVirtualList } from 'omorphia'
import IconStar from 'virtual:icons/heroicons-outline/star'
import { uniqueId } from 'omorphia/utils/uniqueId'
let options = Array(100)
.fill({})
.map((option) => ({
label: 'Star-' + uniqueId(),
.map((option, index) => ({
label: 'Star-' + index,
icon: IconStar,
value: uniqueId(),
value: index,
}))
let selected = ['2', '6']
let selected = [22, 24]
</script>
<CheckboxVirtualList bind:value={selected} {options} />