diff --git a/_source/reference/attributes.md b/_source/reference/attributes.md index f2fe211..61c96fb 100644 --- a/_source/reference/attributes.md +++ b/_source/reference/attributes.md @@ -15,6 +15,7 @@ The following data attributes can be applied to elements to customize Turbo's be * `data-turbo-track="reload"` tracks the element's HTML and performs a full page reload when it changes. Typically used to [keep `script` and CSS `link` elements up-to-date](/handbook/drive#reloading-when-assets-change). * `data-turbo-frame` identifies the Turbo Frame to navigate. Refer to the [Frames documentation](/reference/frames) for further details. * `data-turbo-preload` signals to [Drive](/handbook/drive#preload-links-into-the-cache) to pre-fetch the next page's content +* `data-turbo-prefetch="false"` [disables prefetching links](/handbook/drive#prefetching-links-on-hover) when the element is hovered. * `data-turbo-action` customizes the [Visit](/handbook/drive#page-navigation-basics) action. Valid values are `replace` or `advance`. Can also be used with Turbo Frames to [promote frame navigations to page visits](/handbook/frames#promoting-a-frame-navigation-to-a-page-visit). * `data-turbo-permanent` [persists the element between page loads](/handbook/building#persisting-elements-across-page-loads). The element must have a unique `id` attribute. It also serves to exclude elements from being morphed when using [page refreshes with morphing](/handbook/page_refreshes.html) * `data-turbo-temporary` removes the element before the document is cached, preventing it from reappearing when restored. @@ -43,3 +44,4 @@ The following `meta` elements, added to the `head`, can be used to customize cac * `` to trigger view transitions on browsers that support the [View Transition API](https://caniuse.com/view-transitions). * `` will configure [page refreshes with morphing](/handbook/page_refreshes.html). * `` will enable [scroll preservation during page refreshes](/handbook/page_refreshes.html). +* `` will disable [prefetching links on hover](/handbook/drive#prefetching-links-on-hover).