-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Item: clean up the content projection #6849
Comments
I know the point of this was so that users could write a simple item like:
and they wouldn't have to wrap it in an |
I think if you add examples from the forum topic in the API item documentation, it will be enough. IMO |
This issue is related: #6861 |
I'm going to close this issue because the documentation has been updated for item to reflect where the content is projected. For more information on the current state of being able to nest components with content projection, see this comment: #12252 (comment) |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
The content projection has been pretty confusing. I've updated the API docs to try to explain it better, but it is still confusing that if an
ion-label
exists it will ignore any other elements but if noion-label
is passed it will place it inside of theion-label
. Discuss! 😉Forum discussion: https://forum.ionicframework.com/t/confused-about-ion-item-usage/54116/
The text was updated successfully, but these errors were encountered: