Skip to content

translation update: turbo reference events #181

@github-actions

Description

@github-actions

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

  1. Fork this repository
  2. Update the translation in turbo/reference/events.md
  3. Update the commit field in the front matter to 4f4c385
  4. Create a Pull Request with your changes

View changes on GitHub


Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions