This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
How do you tell if an optional multi transclude property has been set? #13426
Milestone
Comments
This is something that @PascalPrecht was asking for too, I think... |
A benefit of this would be that we could provide default content in |
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 2, 2015
…nction Unfilled optional slots will exist as properties of `$$slots` but have a value of `null`. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 2, 2015
…ional slot Previously the contents of the `ngTransclude` element would always be emptied, even if there was no transclusion to replace it. Now, optional slots that have not been filled with content will not cause the `ngTransclude` contents to be emptied. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 2, 2015
…nction Unfilled optional slots will exist as properties of `$$slots` but have a value of `null`. Closes angular#13426
Here is a PR: #13431 |
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 2, 2015
…ction Unfilled optional slots will exist as properties of `$slots` but have a value of `null`. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 2, 2015
…ional slot Previously the contents of the `ngTransclude` element would always be emptied, even if there was no transclusion to replace it. Now, optional slots that have not been filled with content will not cause the `ngTransclude` contents to be emptied. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 4, 2015
…ction Unfilled optional slots will exist as properties of `$slots` but have a value of `null`. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 4, 2015
…ional slot Previously the contents of the `ngTransclude` element would always be emptied, even if there was no transclusion to replace it. Now, optional slots that have not been filled with content will not cause the `ngTransclude` contents to be emptied. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 4, 2015
…ction Unfilled optional slots will exist as properties of `$slots` but have a value of `null`. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 4, 2015
…ional slot Previously the contents of the `ngTransclude` element would always be emptied, even if there was no transclusion to replace it. Now, optional slots that have not been filled with content will not cause the `ngTransclude` contents to be emptied. Closes angular#13426
petebacondarwin
added a commit
to petebacondarwin/angular.js
that referenced
this issue
Dec 4, 2015
…ional slot Previously the contents of the `ngTransclude` element would always be emptied, even if there was no transclusion to replace it. Now, optional slots that have not been filled with content will not cause the `ngTransclude` contents to be emptied. Closes angular#13426
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Basically I can not find a way to check if an optional transclude was supplied, I want to show hide the parent based on the transclude being set or not.
If there is no way is it possible to get this added? It is a useful feature to along side optional transclude.
Thanks
The text was updated successfully, but these errors were encountered: