Skip to content

Commit e63e864

Browse files
committed
add example
1 parent f709a16 commit e63e864

File tree

4 files changed

+45
-19
lines changed

4 files changed

+45
-19
lines changed

package-lock.json

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<script lang="ts" setup>
2+
import BlitzTh from '../BlitzTh.vue'
3+
</script>
4+
5+
<template>
6+
<BlitzTh :column="{ id: 'name' }" :sortState="[]" :lang="{}" />
7+
<BlitzTh :column="{ id: 'id', label: 'ID' }" :sortState="[]" :lang="{}" />
8+
</template>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts" setup>
2+
import BlitzTh from '../BlitzTh.vue'
3+
</script>
4+
5+
<template>
6+
<BlitzTh :column="{ id: 'name' }" :sortState="[]" :lang="{ name: '名前' }" />
7+
</template>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script lang="ts" setup>
2+
import BlitzTh from '../BlitzTh.vue'
3+
</script>
4+
5+
<template>
6+
<BlitzTh
7+
:column="{ id: 'name', sortable: true }"
8+
:sortState="[{ id: 'name', direction: 'asc' }]"
9+
:lang="{}"
10+
/>
11+
</template>

0 commit comments

Comments
 (0)