Translation Update Required
The upstream documentation has been updated. Please review the changes and update the translation accordingly.
File: turbo/reference/events.md
Current translated commit: 17e5033
Latest upstream commit: 4f4c385
Diff
Click to expand diff
diff --git a/_source/reference/events.md b/_source/reference/events.md
index 23bc750..42004cb 100644
--- a/_source/reference/events.md
+++ b/_source/reference/events.md
@@ -98,6 +98,14 @@ Fires once after the initial page load, and again after every Turbo visit.
| `timing.requestEnd` | `number` | timestamp at the end of the HTTP request for the next page
| `timing.visitEnd` | `number` | timestamp at the end of the Visit
+### `turbo:reload`
+
+Fires just before Turbo performs a full page reload.
+
+| `event.detail` property | Type | Description
+|---------------------------|-----------|------------
+| `reason` | `string` | the reason for the reload (e.g. "turbo_disabled", "turbo_visit_control_is_reload", "tracked_element_mismatch", "request_failed")
+
## Page Refreshes
How to Update
- Fork this repository
- Update the translation in
turbo/reference/events.md
- Update the
commit field in the front matter to 4f4c385
- Create a Pull Request with your changes
View changes on GitHub
Translation Update Required
The upstream documentation has been updated. Please review the changes and update the translation accordingly.
File:
turbo/reference/events.mdCurrent translated commit:
17e5033Latest upstream commit:
4f4c385Diff
Click to expand diff
How to Update
turbo/reference/events.mdcommitfield in the front matter to4f4c385View changes on GitHub