Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove isPreview from events.md #190

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions _source/reference/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Fires before rendering the page. Access the new `<body>` element with `event.det
|---------------------------|-----------------------------------|------------
| `renderMethod` | `"replace" \| "morph"` | the strategy that will be used to render the new content
| `newBody` | [HTMLBodyElement][] | the new `<body>` element that will replace the document's current `<body>` element
| `isPreview` | `boolean` | whether or not the render is a [preview][] of a cached page
| `resume` | `(value?: any) => void` | called when [Pausing Requests][]
| `render` | `(currentBody, newBody) => void` | override to [Customize Rendering](/handbook/drive#custom-rendering)

Expand All @@ -86,7 +85,6 @@ Fires after Turbo renders the page. This event fires twice during an application
| `event.detail` property | Type | Description
|---------------------------|---------------------------|------------
| `renderMethod` | `"replace" \| "morph"` | the strategy used to render the new content
| `isPreview` | `boolean` | whether or not the render is a [preview][] of a cached page

### `turbo:load`

Expand Down