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

feat(cdk/overlay): cdkConnectedOverlay should allow passing in context #23701

Closed
princemaple opened this issue Oct 7, 2021 · 2 comments
Closed
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team

Comments

@princemaple
Copy link
Contributor

princemaple commented Oct 7, 2021

Feature Description

cdkConnectedOverlay should allow passing in context to customize the given template.
It's already using TemplatePortal which accepts a context. It should just be a matter of adding an extra Input().

Use Case

So the template doesn't have to be a static template.
You can render dynamic data that will only become available at runtime.

@princemaple princemaple added feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team labels Oct 7, 2021
@princemaple princemaple changed the title feat(COMPONENT): cdkConnectedOverlay should allow passing in context feat(overlay): cdkConnectedOverlay should allow passing in context Oct 7, 2021
@princemaple princemaple changed the title feat(overlay): cdkConnectedOverlay should allow passing in context feat(cdk/overlay): cdkConnectedOverlay should allow passing in context Oct 7, 2021
@princemaple
Copy link
Contributor Author

The template has access to the host component's properties.. no need to pass anything in.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant