| affix |
Fixed mode of Anchor |
boolean |
true |
|
| bounds |
Bounding distance of anchor area |
number |
5(px) |
|
| getContainer |
Scrolling container |
() => HTMLElement |
() => window |
|
| getCurrentAnchor |
Customize the anchor highlight |
(activeLink: string) => string |
- |
activeLink(3.3) |
| 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 |
|
| showInkInFixed |
Whether show ink-square when īŧaffix="false" |
boolean |
false |
|
| targetOffset |
Anchor scroll offset, default as offsetTop, example |
number |
offsetTop |
1.5.0 |
| wrapperClass |
The class name of the container |
string |
- |
|
| wrapperStyle |
The style of the container |
object |
- |
|
| items |
Data configuration option content, support nesting through children |
{ href, title, target, children, key }[] |
- |
4.0 |