mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-11 00:21:29 -04:00
feat(i18n): language selector (#710)
This commit is contained in:
parent
58de8970f5
commit
e86fd96ae3
12 changed files with 182 additions and 46 deletions
|
@ -33,4 +33,19 @@ const value = ref('');
|
|||
<c-select label="Label" label-position="left" label-align="left" mb-2 label-width="200px" />
|
||||
<c-select label="Label" label-position="left" label-align="center" mb-2 label-width="200px" />
|
||||
<c-select label="Label" label-position="left" label-align="right" mb-2 label-width="200px" />
|
||||
|
||||
<h2>Custom displayed value</h2>
|
||||
<c-select v-model:value="value" :options="optionsA" mb-2>
|
||||
<template #displayed-value>
|
||||
<span class="font-bold lh-normal">Hello</span>
|
||||
</template>
|
||||
</c-select>
|
||||
|
||||
<c-select v-model:value="value" :options="optionsA">
|
||||
<template #displayed-value>
|
||||
<span lh-normal>
|
||||
<icon-mdi-translate />
|
||||
</span>
|
||||
</template>
|
||||
</c-select>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue