2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-02-28 08:29:30 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue StyleClass Component"
|
|
|
|
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>
|