You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
If mainDirective template loads before myCustomDirective template then custom directive is not going to be rendered at the time multi transclusion will take place.
Which means at the time of multi transclusion div with name=placeholder is not going to be present and nothing is going to be transcluded into placeholder.
The workaround is to always have div with proper name inside main-directive directly and not in another directive
The text was updated successfully, but these errors were encountered:
Thanks for the report. I think this would be technically working "as intended" as the names of the multi-transclusion wouldn't be available in the my-custom-directive body. However, as noted this library is anyways obsolete as of AngularJS 1.5.
Let's say we have a template like this:
If
mainDirective
template loads beforemyCustomDirective
template then custom directive is not going to be rendered at the time multi transclusion will take place.Which means at the time of multi transclusion
div
withname=placeholder
is not going to be present and nothing is going to be transcluded into placeholder.The workaround is to always have
div
with propername
insidemain-directive
directly and not in another directiveThe text was updated successfully, but these errors were encountered: