@angular/platform-browser

withEventReplay

function
Developer preview

Enables support for replaying user events (e.g. clicks) that happened on a page before hydration logic has completed. Once an application is hydrated, all captured events are replayed and relevant event listeners are executed.

withEventReplay(
): HydrationFeature<HydrationFeatureKind.EventReplay>;
Jump to details