fix(ivy): export elementContainerStart/End instructions (#27053)
PR Close #27053
This commit is contained in:
parent
b07bd30b70
commit
60800da6c1
|
@ -244,12 +244,12 @@ describe('compiler compliance', () => {
|
|||
…
|
||||
template: function MyComponent_Template(rf, ctx) {
|
||||
if (rf & 1) {
|
||||
i0.ɵEC(0);
|
||||
i0.ɵelementContainerStart(0);
|
||||
i0.ɵelementStart(1, "span");
|
||||
i0.ɵtext(2, "in a ");
|
||||
i0.ɵelementEnd();
|
||||
i0.ɵtext(3, "container");
|
||||
i0.ɵeC();
|
||||
i0.ɵelementContainerEnd();
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -281,8 +281,8 @@ describe('compiler compliance', () => {
|
|||
…
|
||||
template: function MyComponent_Template(rf, ctx) {
|
||||
if (rf & 1) {
|
||||
i0.ɵEC(0);
|
||||
i0.ɵeC();
|
||||
i0.ɵelementContainerStart(0);
|
||||
i0.ɵelementContainerEnd();
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
|
|
@ -35,9 +35,11 @@ export class Identifiers {
|
|||
|
||||
static elementClassProp: o.ExternalReference = {name: 'ɵelementClassProp', moduleName: CORE};
|
||||
|
||||
static elementContainerStart: o.ExternalReference = {name: 'ɵEC', moduleName: CORE};
|
||||
static elementContainerStart:
|
||||
o.ExternalReference = {name: 'ɵelementContainerStart', moduleName: CORE};
|
||||
|
||||
static elementContainerEnd: o.ExternalReference = {name: 'ɵeC', moduleName: CORE};
|
||||
static elementContainerEnd:
|
||||
o.ExternalReference = {name: 'ɵelementContainerEnd', moduleName: CORE};
|
||||
|
||||
static elementStyling: o.ExternalReference = {name: 'ɵelementStyling', moduleName: CORE};
|
||||
|
||||
|
|
|
@ -89,6 +89,8 @@ export {
|
|||
enableBindings as ɵenableBindings,
|
||||
disableBindings as ɵdisableBindings,
|
||||
elementAttribute as ɵelementAttribute,
|
||||
elementContainerStart as ɵelementContainerStart,
|
||||
elementContainerEnd as ɵelementContainerEnd,
|
||||
elementStyling as ɵelementStyling,
|
||||
elementStylingMap as ɵelementStylingMap,
|
||||
elementStyleProp as ɵelementStyleProp,
|
||||
|
|
|
@ -49,8 +49,8 @@ export const angularCoreEnv: {[name: string]: Function} = {
|
|||
'ɵelementStart': r3.elementStart,
|
||||
'ɵelementEnd': r3.elementEnd,
|
||||
'ɵelement': r3.element,
|
||||
'ɵEC': r3.elementContainerStart,
|
||||
'ɵeC': r3.elementContainerEnd,
|
||||
'ɵelementContainerStart': r3.elementContainerStart,
|
||||
'ɵelementContainerEnd': r3.elementContainerEnd,
|
||||
'ɵpureFunction0': r3.pureFunction0,
|
||||
'ɵpureFunction1': r3.pureFunction1,
|
||||
'ɵpureFunction2': r3.pureFunction2,
|
||||
|
|
Loading…
Reference in New Issue