@angular/platform-browser

withEventReplay

function

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.

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