Merged new Docs and Demos

This commit is contained in:
Cagatay Civici 2023-02-28 11:29:30 +03:00
parent 296cc217fb
commit dfcc8ef4e7
1235 changed files with 130757 additions and 122640 deletions

View file

@ -0,0 +1,45 @@
<template>
<DocSectionText v-bind="$attrs">
<p>ScrollTop listens window scroll by default.</p>
</DocSectionText>
<div class="card flex flex-column align-items-center">
<p>Scroll down the page to display the ScrollTop component.</p>
<i class="pi pi-angle-down fadeout animation-duration-1000 animation-iteration-infinite" style="fontsize: 2rem"></i>
<ScrollTop />
</div>
<DocSectionCode :code="code" />
</template>
<script>
export default {
data() {
return {
code: {
basic: `<ScrollTop />`,
options: `
<template>
<div class="card flex flex-column align-items-center" style="height: 2000px">
<p>Scroll down the page to display the ScrollTop component.</p>
<i class="pi pi-angle-down fadeout animation-duration-1000 animation-iteration-infinite" style="fontsize: 2rem"></i>
<ScrollTop />
</div>
</template>
<script>
<\/script>`,
composition: `
<template>
<div class="card flex flex-column align-items-center" style="height: 2000px">
<p>Scroll down the page to display the ScrollTop component.</p>
<i class="pi pi-angle-down fadeout animation-duration-1000 animation-iteration-infinite" style="fontsize: 2rem"></i>
<ScrollTop />
</div>
</template>
<script setup>
<\/script>`
}
};
}
};
</script>