Слияние кода завершено, страница обновится автоматически
category | type | cols | title |
---|---|---|---|
Components |
Other |
2 |
Anchor |
Hyperlinks to scroll on one page.
For displaying anchor hyperlinks on page and jumping between them.
Property | Description | Type | Default |
---|---|---|---|
affix | Fixed mode of Anchor | boolean | true |
bounds | Bounding distance of anchor area | number | 5(px) |
getContainer | Scrolling container | () => HTMLElement | () => window |
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-balls in Fixed mode | boolean | false |
onClick | set the handler to handle click event |
Function(e: Event, link: Object) | - |
getCurrentAnchor | Customize the anchor highlight | () => string | - |
targetOffset | Anchor scroll offset, default as offsetTop , example
|
number | offsetTop |
Property | Description | Type | Default |
---|---|---|---|
href | target of hyperlink | string | |
title | content of hyperlink | string|ReactNode |
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарий ( 0 )