mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
RadioButton, Rating, SelectButton, Slider unstyled demo updates
This commit is contained in:
parent
bcbfb54ac2
commit
e9623c4484
16 changed files with 333 additions and 27 deletions
30
doc/slider/theming/UnstyledDoc.vue
Normal file
30
doc/slider/theming/UnstyledDoc.vue
Normal file
|
@ -0,0 +1,30 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>Theming is implemented with the pass through properties in unstyled mode. Example below demonstrates the built-in Tailwind theme.</p>
|
||||
</DocSectionText>
|
||||
<DocSectionCode :code="code" embedded />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
value: null,
|
||||
code: {
|
||||
composition: `
|
||||
<template>
|
||||
<div class="card flex justify-center">
|
||||
<Slider v-model="value" class="w-14rem" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
const value = ref(null);
|
||||
<\/script>`
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue