-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allowing multiple portal-content's for one id #3
Comments
Currently a portal's content is rendered if it's the last item in the stack: This is determined here in the component and the Showing all items would be as simple as removing the Maybe something like: {{portal-for name="foo" show="all"}} vs (default) of {{portal-for name="foo" show="last"}} I'm not sure if there would ever be a use-case for only ever showing the first item in the stack: {{portal-for name="foo" show="first"}} |
It might be nice to toggle, so you sort by date, and show newest, oldest or all. |
Technically you could just override the CP with Yes, setting |
Seems like that option should be on the |
See my example here https://github.com/knownasilya/ember-yielded-portals
In the drawbacks section I mention that the last use of the same portal will be the only one rendered. Is there a way we could append additional ones instead of replacing?
The text was updated successfully, but these errors were encountered: