ViewRef
class
npm Package | @angular/core |
---|---|
Module | import { ViewRef } from '@angular/core'; |
Source | core/src/linker/view_ref.ts |
Overview
class ViewRef extends ChangeDetectorRef { destroy(): void get destroyed: boolean onDestroy(callback: Function): any // inherited from core/ChangeDetectorRef markForCheck(): void detach(): void detectChanges(): void checkNoChanges(): void reattach(): void }
Subclasses
-
EmbeddedViewRef
Members
destroy(): void
Destroys the view and all of the data structures associated with it.
get destroyed: boolean
onDestroy(callback: Function): any
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/ViewRef