feat: Override default ion-breadcrumbs collapsed indicator
Prerequisites
- [x] I have read the Contributing Guidelines.
- [x] I agree to follow the Code of Conduct.
- [x] I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Adding option to overwrite the default collapsed indicator button for ion-breadcrumbs
Describe the Use Case
It lets users change the default ion-breadcrumbs collapsing indicator button
Describe Preferred Solution
<ion-breadcrumbs [maxItems]="maxItems">
<ion-button slot="collapsed-indicator"></ion-button>
</ion-breadcrumbs>
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
Thanks for the issue! Could you share a bit more about what you're trying to pass here?
The collapsed indicator is a native button that can be styled using shadow parts:
ion-breadcrumb::part(collapsed-indicator) {
background: pink;
color: hotpink;
border-radius: 8px;
}
Are you looking to override its styles, icon, or pass text? I just want to make sure I fully understand your feature request. Thanks!
@brandyscarney i know that i can adjust the style by using shadow parts, i want to change the collapsed indicator icon, or even better would be to be able to replace the whole button