网页 综合 更新时间 2026-11-14 16:23:32

ion-breadcrumbs | Ionic Framework

自动蜘蛛 ionicframework.com 正文约 1067 字
Breadcrumbs are navigation items that are used to indicate where a user is on an app or site. They should be used for large sites and apps with hierarchically arranged pages. Breadcrumbs can be collapsed based on the maximum number that can show, and the collapsed indicator can be clicked on to present a popover with more information or expand the collapsed breadcrumbs.
If there are more items than the value of maxItems, the breadcrumbs will be collapsed. By default, only the first and last items will be shown.
Once the items are collapsed, the number of items to show can be controlled by the itemsBeforeCollapse and itemsAfterCollapse properties.
Clicking the collapsed indicator will fire the ionCollapsedClick event. This can be used to, for example, expand the breadcrumbs.
The ionCollapsedClick event can also be used to present an overlay (in this case, an ion-popover) showing the hidden breadcrumbs.
No public methods available for this component.
No CSS shadow parts available for this component.
No CSS custom properties available for this component.
访问原文 返回搜索 https://ionicframework.com/docs/api/breadcrumbs
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。