Skip to content

Commit

Permalink
Merge pull request #190 from ippachi/remove-is-preview
Browse files Browse the repository at this point in the history
Remove isPreview from events.md
  • Loading branch information
brunoprietog authored Jun 21, 2024
2 parents c397c31 + f925ca4 commit b432597
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 b432597

Please sign in to comment.