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(upgrade): support $element in upgraded component template/templateUrl functions #31637
feat(upgrade): support $element in upgraded component template/templateUrl functions #31637
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, @bamblack! I left a couple minor comments, but generally lgtm 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor suggetion. LGTM otherwise 👍
@bamblack, can you also squash the commits together, since they are essentially all related to the same change.
Done and done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thx, @bamblack 👍
…teUrl functions (angular#31637) PR Close angular#31637
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Template functions on upgraded components will receive $element
PR Checklist
Please check if your PR fulfills the following requirements:
$element
and$attrs
were undefined; it now verifies that$element
is defined and$attrs
is undefinedPR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #31565
What is the new behavior?
template
andtemplateUrl
functions on upgraded components will receive$element
viaUpgradeHelper.compileTemplate
.Does this PR introduce a breaking change?
Other information