mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
BREAKING CHANGE: Fix signal input getter behavior in custom elements. Before this change, signal inputs in custom elements required function calls to access their values (`elementRef.newInput()`), while decorator inputs were accessed directly (`elementRef.oldInput`). This inconsistency caused confusion and typing difficulties. The getter behavior has been standardized so signal inputs can now be accessed directly, matching the behavior of decorator inputs: Before: - Decorator Input: `elementRef.oldInput` - Signal Input: `elementRef.newInput()` After: - Decorator Input: `elementRef.oldInput` - Signal Input: `elementRef.newInput` closes #62097 PR Close #62113 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| component-factory-strategy_spec.ts | ||
| create-custom-element-env_spec.ts | ||
| create-custom-element_spec.ts | ||
| extract-projectable-nodes_spec.ts | ||
| slots_spec.ts | ||
| utils_spec.ts | ||