Skip to content

Commit

Permalink
Remove isPreview from events.md
Browse files Browse the repository at this point in the history
isPreview is reverted (discussed in hotwired/turbo#926)
  • Loading branch information
ippachi authored May 18, 2024
1 parent c397c31 commit f925ca4
Showing 1 changed file with 0 additions and 2 deletions.
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

0 comments on commit f925ca4

Please sign in to comment.