Previously, it was possible to set the live-example title as content in the `<live-example>` element. This relied on our custom loader functionality that extracted the content from the DOM element before passing it to the Angular compiler and stored it on a property for later retrieval. Since we switched to custom elements (and got rid of the custom loader), the property is no longer populated with the contents. As a result, many live examples show the default title ("live example") instead of the one specified as content. This commit fixes it by projecting the content into an invisible node for later retrieval (similar to what we do in other components, such as the `CodeExampleComponent`). PR Close #23960
revert: refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371)
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%