Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation][HxAccordion] Clarify documentation #1029

Open
jolaquai opened this issue Feb 26, 2025 · 0 comments
Open

[Documentation][HxAccordion] Clarify documentation #1029

jolaquai opened this issue Feb 26, 2025 · 0 comments

Comments

@jolaquai
Copy link

https://havit.blazor.eu/components/HxAccordion#HxAccordion-api

ID of the single expanded item (if StayOpen is true, use ExpandedItemIds, several items can be expanded). Do not use a constant value as it reverts the accordion to that item on every roundtrip. Use InitialExpandedItemId to set the initial state.

I mean, yes, obviously, the docs state that the consumer should use the parameter for multiple IDs, but it's not clear that this is a requirement; I wouldn't immediately consider that to mean "the other EventCallback won't even be invoked when StayOpen is true".
Perhaps this could be clarified in the docs, maybe in other places where a StayOpen equivalent could cause similar confusion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant