-
-
Save martinakraus/150c5dcd53509b6ca875b69262f82d79 to your computer and use it in GitHub Desktop.
ivy compiled template creation code
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
AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(); }; | |
AppComponent.ɵcmp = core.ɵɵdefineComponent({ | |
type: AppComponent, | |
selectors: [["app-root"]], | |
decls: 2, | |
vars: 1, | |
template: function AppComponent_Template(renderflags, ctx) { | |
if (renderflags & RenderFlags.INIT) { | |
core.ɵɵelementStart(0, "div"); | |
core.ɵɵtext(1); | |
core.ɵɵelementEnd(); | |
} | |
if (renderflags & RenderFlags.UPDATE) { | |
core.ɵɵadvance(1); | |
core.ɵɵtextInterpolate1(" Welcome to ", ctx.title, "!\n"); | |
} | |
}, | |
styles: [""] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment