-
-
Save chidumennamdi/2de82e6be63986167d76da84c2a422b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<my-i [iHuman]="pHuman"></my-i> | |
<button (click)="incrId()">Incr. Id</button> | |
<button (click)="chgName()">Change Name</button> | |
| | |
V | |
export function View_PComponent_0(_l) { | |
return i1.ɵvid(0, [ | |
(_l()(), i1.ɵeld(0, 0, null, null, 1, "my-i", [], null, null, null, View_IComponent_0, RenderType_IComponent)), | |
i1.ɵdid(1, 49152, null, 0, i2.IComponent, [], | |
// bindings | |
[ | |
iHuman: [0, "iHuman"] | |
], null), | |
(_l()(), i1.ɵeld(2, 0, null, null, 1, "button", [], null, [ | |
[null, "click"] | |
], function(_v, en, $event) { | |
var ad = true; | |
var _co = _v.component; | |
if (("click" === en)) { | |
var pd_0 = (_co.incrId() !== false); | |
ad = (pd_0 && ad); | |
} | |
return ad; | |
}, null, null)), | |
i1.ɵted(-1,["Incr. Id"]), | |
(_l()(), i1.ɵeld(4, 0, null, null, 1, "button", [], null, [ | |
[null, "click"] | |
], function(_v, en, $event) { | |
var ad = true; | |
var _co = _v.component; | |
if (("click" === en)) { | |
var pd_0 = (_co.chgName() !== false); | |
ad = (pd_0 && ad); | |
} | |
return ad; | |
}, null, null)), | |
i1.ɵted(-1,["Change Name"]) | |
], | |
// updateDirectives | |
function (_ck, _v) { | |
var _co = _v.component; | |
var currVal_0 = _co.pHuman; | |
_ck(_v, 1, 0, currVal_0); | |
} | |
, /** updateRenderer */null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment