@angular/core

afterNextRender

function
Developer preview

Register a callback to be invoked the next time the application finishes rendering, during the mixedReadWrite phase.

afterNextRender(
callback: VoidFunction,
options?: AfterRenderOptions
): AfterRenderRef;
Jump to details