primevue-mirror/pages/styleclass/index.vue

40 lines
1.1 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent
2023-03-16 13:18:12 +00:00
title="Vue StyleClass Directive"
2023-02-28 08:29:30 +00:00
header="StyleClass"
description="StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element."
:componentDocs="docs"
:apiDocs="['StyleClass']"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AnimationDoc from '@/doc/styleclass/AnimationDoc';
import ImportDoc from '@/doc/styleclass/ImportDoc';
import ToggleClass from '@/doc/styleclass/ToggleClassDoc';
2022-09-09 20:41:18 +00:00
export default {
2023-02-28 08:29:30 +00:00
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'toggleClass',
label: 'Toggle Class',
component: ToggleClass
},
{
id: 'animation',
label: 'Animation',
component: AnimationDoc
}
]
};
2022-09-09 20:41:18 +00:00
}
};
</script>