• Overview
@angular/core

AfterRenderOptions

interface

Options passed to afterRender and afterNextRender.

API

  
    interface AfterRenderOptions {}
  
  

injector

Injector | undefined

The Injector to use during creation.

If this is not provided, the current injection context will be used instead (via inject).

manualCleanup

boolean | undefined

Whether the hook should require manual cleanup.

If this is false (the default) the hook will automatically register itself to be cleaned up with the current DestroyRef.

Jump to details