@angular/core

afterNextRender

function
Developer preview

Register a callback to be invoked the next time the application finishes rendering.

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