Browse Source

Revision of Anchor Props document description,"affix" default value is true; 修正Anchor Props说明,"affix" 是true

pull/8904/head
yangwukang 7 years ago
committed by 偏右
parent
commit
16d7da31ad
  1. 2
      components/anchor/index.en-US.md
  2. 2
      components/anchor/index.zh-CN.md

2
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 |

2
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 | |

Loading…
Cancel
Save