refactor(ivy): rename stylingProp => styleProp (#26149)
PR Close #26149
This commit is contained in:

committed by
Alex Rickabaugh

parent
68fadd9b97
commit
c51331689f
@ -425,7 +425,7 @@ describe('compiler compliance', () => {
|
||||
$r3$.ɵelementEnd();
|
||||
}
|
||||
if (rf & 2) {
|
||||
$r3$.ɵelementStylingProp(0, 0, ctx.color);
|
||||
$r3$.ɵelementStyleProp(0, 0, ctx.color);
|
||||
$r3$.ɵelementClassProp(0, 0, ctx.error);
|
||||
$r3$.ɵelementStylingApply(0);
|
||||
}
|
||||
@ -674,10 +674,10 @@ describe('compiler compliance', () => {
|
||||
MyComponent.ngComponentDef = $r3$.ɵdefineComponent({
|
||||
type: MyComponent,
|
||||
selectors: [["my-component"]],
|
||||
factory: function MyComponent_Factory(t) {
|
||||
factory: function MyComponent_Factory(t) {
|
||||
return new (t || MyComponent)(
|
||||
$r3$.ɵdirectiveInject(ElementRef), $r3$.ɵdirectiveInject(ViewContainerRef),
|
||||
$r3$.ɵdirectiveInject(ChangeDetectorRef));
|
||||
$r3$.ɵdirectiveInject(ElementRef), $r3$.ɵdirectiveInject(ViewContainerRef),
|
||||
$r3$.ɵdirectiveInject(ChangeDetectorRef));
|
||||
},
|
||||
features: [$r3$.ɵPublicFeature],
|
||||
consts: 0,
|
||||
|
@ -315,8 +315,8 @@ describe('compiler compliance: styling', () => {
|
||||
}
|
||||
if (rf & 2) {
|
||||
$r3$.ɵelementStylingMap(0, null, $ctx$.myStyleExp);
|
||||
$r3$.ɵelementStylingProp(0, 1, $ctx$.myWidth);
|
||||
$r3$.ɵelementStylingProp(0, 2, $ctx$.myHeight);
|
||||
$r3$.ɵelementStyleProp(0, 1, $ctx$.myWidth);
|
||||
$r3$.ɵelementStyleProp(0, 2, $ctx$.myHeight);
|
||||
$r3$.ɵelementStylingApply(0);
|
||||
$r3$.ɵelementAttribute(0, "style", $r3$.ɵbind("border-width: 10px"), $r3$.ɵsanitizeStyle);
|
||||
}
|
||||
@ -373,7 +373,7 @@ describe('compiler compliance: styling', () => {
|
||||
$r3$.ɵelementEnd();
|
||||
}
|
||||
if (rf & 2) {
|
||||
$r3$.ɵelementStylingProp(0, 0, ctx.myImage);
|
||||
$r3$.ɵelementStyleProp(0, 0, ctx.myImage);
|
||||
$r3$.ɵelementStylingApply(0);
|
||||
}
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ export class Identifiers {
|
||||
|
||||
static elementStylingMap: o.ExternalReference = {name: 'ɵelementStylingMap', moduleName: CORE};
|
||||
|
||||
static elementStyleProp: o.ExternalReference = {name: 'ɵelementStylingProp', moduleName: CORE};
|
||||
static elementStyleProp: o.ExternalReference = {name: 'ɵelementStyleProp', moduleName: CORE};
|
||||
|
||||
static elementStylingApply:
|
||||
o.ExternalReference = {name: 'ɵelementStylingApply', moduleName: CORE};
|
||||
|
@ -89,7 +89,7 @@ export {
|
||||
elementAttribute as ɵelementAttribute,
|
||||
elementStyling as ɵelementStyling,
|
||||
elementStylingMap as ɵelementStylingMap,
|
||||
elementStyleProp as ɵelementStylingProp,
|
||||
elementStyleProp as ɵelementStyleProp,
|
||||
elementStylingApply as ɵelementStylingApply,
|
||||
elementClassProp as ɵelementClassProp,
|
||||
textBinding as ɵtextBinding,
|
||||
|
@ -92,7 +92,7 @@ export const angularCoreEnv: {[name: string]: Function} = {
|
||||
'ɵreference': r3.reference,
|
||||
'ɵelementStyling': r3.elementStyling,
|
||||
'ɵelementStylingMap': r3.elementStylingMap,
|
||||
'ɵelementStylingProp': r3.elementStyleProp,
|
||||
'ɵelementStyleProp': r3.elementStyleProp,
|
||||
'ɵelementStylingApply': r3.elementStylingApply,
|
||||
'ɵtemplate': r3.template,
|
||||
'ɵtext': r3.text,
|
||||
|
@ -345,8 +345,8 @@ describe('elements', () => {
|
||||
$r3$.ɵelementEnd();
|
||||
}
|
||||
if (rf & 2) {
|
||||
$r3$.ɵelementStylingProp(0, 0, ctx.someColor);
|
||||
$r3$.ɵelementStylingProp(0, 1, ctx.someWidth, 'px');
|
||||
$r3$.ɵelementStyleProp(0, 0, ctx.someColor);
|
||||
$r3$.ɵelementStyleProp(0, 1, ctx.someWidth, 'px');
|
||||
$r3$.ɵelementStylingApply(0);
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ describe('compiler sanitization', () => {
|
||||
if (rf & 2) {
|
||||
$r3$.ɵelementProperty(0, 'innerHTML', $r3$.ɵbind(ctx.innerHTML), $r3$.ɵsanitizeHtml);
|
||||
$r3$.ɵelementProperty(0, 'hidden', $r3$.ɵbind(ctx.hidden));
|
||||
$r3$.ɵelementStylingProp(0, 0, ctx.style);
|
||||
$r3$.ɵelementStyleProp(0, 0, ctx.style);
|
||||
$r3$.ɵelementStylingApply(0);
|
||||
$r3$.ɵelementProperty(1, 'src', $r3$.ɵbind(ctx.url), $r3$.ɵsanitizeUrl);
|
||||
$r3$.ɵelementAttribute(1, 'srcset', $r3$.ɵbind(ctx.url), $r3$.ɵsanitizeUrl);
|
||||
|
Reference in New Issue
Block a user