feat(ivy): support markForCheck (#22690)

PR Close #22690
This commit is contained in:
Kara Erickson
2018-03-09 12:45:31 -08:00
parent 0d8deb0795
commit fa451bcd19
4 changed files with 327 additions and 18 deletions

View File

@ -1499,7 +1499,7 @@ export function wrapListenerWithDirtyAndDefault(
}
/** Marks current view and all ancestors dirty */
function markViewDirty(view: LView): void {
export function markViewDirty(view: LView): void {
let currentView: LView|null = view;
while (currentView.parent != null) {