From 16d7da31adeac91f0c3ad08d430cc667cc0ea81b Mon Sep 17 00:00:00 2001 From: yangwukang Date: Tue, 9 Jan 2018 08:38:29 +0800 Subject: [PATCH] =?UTF-8?q?Revision=20of=20Anchor=20Props=20document=20des?= =?UTF-8?q?cription,"affix"=20default=20value=20is=20true;=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3Anchor=20Props=E8=AF=B4=E6=98=8E,"affix"=20=E6=98=AFtr?= =?UTF-8?q?ue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/anchor/index.en-US.md | 2 +- components/anchor/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/anchor/index.en-US.md b/components/anchor/index.en-US.md index 8f50696023..b46641c156 100644 --- a/components/anchor/index.en-US.md +++ b/components/anchor/index.en-US.md @@ -17,7 +17,7 @@ For displaying anchor hyperlinks on page and jumping between them. | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | -| affix | Fixed mode of Anchor | boolean | false | +| affix | Fixed mode of Anchor | boolean | true | | bounds | Bounding distance of anchor area | number | 5(px) | | offsetBottom | Pixels to offset from bottom when calculating position of scroll | number | - | | offsetTop | Pixels to offset from top when calculating position of scroll | number | 0 | diff --git a/components/anchor/index.zh-CN.md b/components/anchor/index.zh-CN.md index 3f84b06030..83e6f87ff0 100644 --- a/components/anchor/index.zh-CN.md +++ b/components/anchor/index.zh-CN.md @@ -18,7 +18,7 @@ title: Anchor | 成员 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| affix | 固定模式 | boolean | false | +| affix | 固定模式 | boolean | true | | bounds | 锚点区域边界 | number | 5(px) | | offsetBottom | 距离窗口底部达到指定偏移量后触发 | number | | | offsetTop | 距离窗口顶部达到指定偏移量后触发 | number | |