• 개요
@angular/core

AfterRenderOptions

인터페이스
안정화v20.0부터

Options passed to afterEveryRender 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.

상세 내용으로 이동