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

element.innerHTML holds first element only, when changing directive applied element through ng-content #7

Open
sumegha26 opened this issue Aug 11, 2019 · 0 comments

Comments

@sumegha26
Copy link

I have used clampy directive on projected content , when projected contents get updated from parent component it is still showing the same element.innerHTML = initially bound content;
div clampy
ng-content /ng-content
div

div clampy
h1 My content h1
div clampy

when I change parent component template where nativeElment on which directive is applied is changed:
h1 My content changed ! h1
output is same
My content

@alexandremoore Please have a look

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