From f925ca4bbd11bb7f00c803c7763e5ea1c14839bc Mon Sep 17 00:00:00 2001 From: ippachi Date: Sun, 19 May 2024 00:53:31 +0900 Subject: [PATCH] Remove isPreview from events.md isPreview is reverted (discussed in https://github.com/hotwired/turbo/pull/926) --- _source/reference/events.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/_source/reference/events.md b/_source/reference/events.md index ea25a42..82d8b8d 100644 --- a/_source/reference/events.md +++ b/_source/reference/events.md @@ -72,7 +72,6 @@ Fires before rendering the page. Access the new `` element with `event.det |---------------------------|-----------------------------------|------------ | `renderMethod` | `"replace" \| "morph"` | the strategy that will be used to render the new content | `newBody` | [HTMLBodyElement][] | the new `` element that will replace the document's current `` 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) @@ -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`