ant-design-vue/components/anchor/demo/static.vue

52 lines
844 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<docs>
---
order: 1
title:
zh-CN: ้™ๆ€ไฝ็ฝฎ
en-US: Static
---
## zh-CN
ไธๆตฎๅŠจ๏ผŒ็Šถๆ€ไธ้š้กต้ขๆปšๅŠจๅ˜ๅŒ–ใ€‚
## en-US
Do not change state when page is scrolling.
</docs>
<template>
<a-anchor
:affix="false"
:items="[
{
key: '1',
href: '#components-anchor-demo-basic',
title: 'Basic demo',
},
{
key: '2',
href: '#components-anchor-demo-static',
title: 'Static demo',
},
{
key: '3',
href: '#api',
title: 'API',
children: [
{
key: '4',
href: '#anchor-props',
title: 'Anchor Props',
},
{
key: '5',
href: '#link-props',
title: 'Link Props',
},
],
},
]"
></a-anchor>
</template>