refactor(ivy): remove elementIndex param from all element-level styling instructions (#30313)
This patch is one commit of many patches that will unify all styling instructions across both template-level bindings and host-level bindings. This patch in particular removes the `elementIndex` param because it is already set prior to each styling instruction via the `select(n)` instruction. PR Close #30313
This commit is contained in:

committed by
Alex Rickabaugh

parent
de651122a5
commit
7c8a62d64d
@ -507,9 +507,9 @@ describe('compiler compliance', () => {
|
||||
}
|
||||
if (rf & 2) {
|
||||
$r3$.ɵɵselect(0);
|
||||
$r3$.ɵɵelementStyleProp(0, 0, ctx.color);
|
||||
$r3$.ɵɵelementClassProp(0, 0, ctx.error);
|
||||
$r3$.ɵɵelementStylingApply(0);
|
||||
$r3$.ɵɵelementStyleProp(0, ctx.color);
|
||||
$r3$.ɵɵelementClassProp(0, ctx.error);
|
||||
$r3$.ɵɵelementStylingApply();
|
||||
}
|
||||
},
|
||||
encapsulation: 2
|
||||
|
Reference in New Issue
Block a user