Created
May 19, 2018 13:07
-
-
Save alexzuza/0870e6c45bec1596adb465f80ae81f2a to your computer and use it in GitHub Desktop.
IVy mark dirty
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 markDirty<T>(component: T) { | |
ngDevMode && assertNotNull(component, 'component'); | |
const lElementNode = _getComponentHostLElementNode(component); | |
markViewDirty(lElementNode.view); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment