Created
May 19, 2018 13:03
-
-
Save alexzuza/2d53f248dc70e31078ff22c0838f79b9 to your computer and use it in GitHub Desktop.
Ivy tick
This file contains hidden or 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
export function tick<T>(component: T): void { | |
const rootView = getRootView(component); | |
const rootComponent = (rootView.context as RootContext).component; | |
const hostNode = _getComponentHostLElementNode(rootComponent); | |
ngDevMode && assertNotNull(hostNode.data, 'Component host node should be attached to an LView'); | |
renderComponentOrTemplate(hostNode, rootView, rootComponent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment