Options passed to afterRender
and afterNextRender
.
API
interface AfterRenderOptions {}
injector
Injector | undefined
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
.
phase
AfterRenderPhase | undefined
The phase the callback should be invoked in.
Defaults to AfterRenderPhase.MixedReadWrite
. You should choose a more specific
phase instead. See AfterRenderPhase
for more information.
Jump to details