Skip to content

Commit aa10dcf

Browse files
authored
Merge pull request #218 from jch/patch-1
Remove duplicate link data-turbo-prefetch
2 parents a75a987 + fd6e629 commit aa10dcf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

_source/reference/attributes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ The following data attributes can be applied to elements to customize Turbo's be
2525
* `data-turbo-stream` specifies that a link or form can accept a Turbo Streams response. Turbo [automatically requests stream responses](/handbook/streams#streaming-from-http-responses) for form submissions with non-`GET` methods; `data-turbo-stream` allows Turbo Streams to be used with `GET` requests as well.
2626
* `data-turbo-confirm` presents a confirm dialog with the given value. Can be used on `form` elements or links with `data-turbo-method`.
2727
* `data-turbo-submits-with` specifies text to display when submitting a form. Can be used on `input` or `button` elements. While the form is submitting the text of the element will show the value of `data-turbo-submits-with`. After the submission, the original text will be restored. Useful for giving user feedback by showing a message like "Saving..." while an operation is in progress.
28-
* `data-turbo-prefetch="false"` disables [prefetching links on hover](/handbook/drive#prefetching-links-on-hover)
2928
* `download` opts out of Turbo since the link is for downloading files and not navigation.
3029

3130
## Automatically Added Attributes

0 commit comments

Comments
 (0)