mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
An earlier commit that introduced tracking of selectorless directives to the template binder made it so `getDirectivesOfNode` returns _all_ of the matched directives while a new method called `getOwnedDirectives` would return only the ones brought in by the specific node. In hindsight, this is likely to cause bugs in the future, because it's unclear whether to reach for `getDirectivesOfNode` or `getOwnedDirectives`. These changes remove `getOwnedDirectives` and make it so in selectorless `getDirectivesOfNode` accepts the directive AST node itself. Another goal of this refactor is that the TCB shouldn't have to check the `selectorlessEnabled` config option. PR Close #61018 |
||
|---|---|---|
| .. | ||
| binding_spec.ts | ||
| i18n_spec.ts | ||
| parse_template_options_spec.ts | ||
| util.ts | ||