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

Deprecate ng-template[polymer] feature #27

Closed
hotforfeature opened this issue May 30, 2017 · 0 comments
Closed

Deprecate ng-template[polymer] feature #27

hotforfeature opened this issue May 30, 2017 · 0 comments

Comments

@hotforfeature
Copy link
Owner

Related to angular/angular#17051

Once enableLegacyTemplate is correctly working, PolymerTemplateDirective should first check and see if this compiler option is set to false. If it is not, a deprecation warning should be generated.

PolymerTemplateDirective ends up doing quite a bit more than the original concept of detaching and reattaching a template. The directive won't be removed entirely. More than likely, it should change to select ng-template[polymer], template and automatically apply itself to templates.

Until angular/angular#15557 is fixed, this directive should also attempt to move any children of the template to the template's content property.

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