Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 348 Bytes

ts-req-after.md

File metadata and controls

13 lines (9 loc) · 348 Bytes

title: ts-req-after

ts-req-after {.text-center}

You can specify actions to run after request is executed, but right before swap is done. Adds response as o.response to options object.

Useful for clearing up DOM, running some analytics ("product was added to basket"), etc.

{{ template "examples" . }}