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

is it possible to dynamically set in ngAfterContentInit hook? #46

Closed
rahulbpatel opened this issue May 27, 2017 · 0 comments
Closed

is it possible to dynamically set in ngAfterContentInit hook? #46

rahulbpatel opened this issue May 27, 2017 · 0 comments
Labels

Comments

@rahulbpatel
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => check the README and search github for a similar issue or PR before submitting
[ ] support request => check the README and search github for a similar issue or PR before submitting
[X ] feature request

Current behavior

If I set in ngOnInit works server-side rendering works, but not in the ngAfterContentInit hook.

Expected/desired behavior

Server side rendering works when set in ngAfterContentInit

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

I've kind of got a weird situation where I am trying to extract info from child content and then set SEO data accordingly. @ContentChild becomes available after the ngAfterContentInit hook

Please tell us about your environment:

Latest seed code on Windows

  • Angular version: 2.0.X

Latest seed code version

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome browser

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    Latest seed code version

  • Node (for AoT issues): node --version =

@fulls1z3 fulls1z3 changed the title Is it possible to dynamically set in ngAfterContentInit hook? [question] is it possible to dynamically set in ngAfterContentInit hook? Jun 18, 2017
@fulls1z3 fulls1z3 self-assigned this Aug 2, 2017
@fulls1z3 fulls1z3 removed their assignment Aug 10, 2017
@fulls1z3 fulls1z3 changed the title [question] is it possible to dynamically set in ngAfterContentInit hook? is it possible to dynamically set in ngAfterContentInit hook? Sep 16, 2017
@fulls1z3 fulls1z3 closed this as completed Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants