| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| classList | 自定义class | Object | - |
| class | 自定义class | string | - |
| container | 容器 | string | HTMLElement | |
| scrollContainer | 滚动容器 | string | HTMLElement | |
| scrollOffset | 滚动偏移量 | number | |
| offsetTop | 偏移量 | number | |
| bounds | 触发的容量 | number | 5 |
| showInk | 显示高亮条 | boolean | false |
| mode | 使用的模式 | hash | history | hash |
| onChange | 锚点点击触发事件 | Function |
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| href | 锚点链接 | string | - |
| title | 锚点标题 | string | JSXElement | - |
| 事件名称 | 说明 | 返回值 |
|---|---|---|
onChange | 锚点点击触发事件 | key |