diff --git a/reference/frames.html b/reference/frames.html index 37b1843..0b92041 100644 --- a/reference/frames.html +++ b/reference/frames.html @@ -167,7 +167,7 @@

Frame that promotes navigations to Visits

<turbo-frame id="messages" data-turbo-action="advance">
<a href="/messages?page=2">Advance history to next page</a>
<a href="/messages?page=2" data-turbo-action="replace">Replace history with next page</a>
</turbo-frame>

Frame that will get reloaded with morphing during page refreshes

-
<turbo-stream action="refresh">
...
</turbo-stream>
+
<turbo-frame id="my-frame" refresh="morph">
...
</turbo-frame>

Attributes, properties, and functions

The <turbo-frame> element is a custom element with its own set of HTML attributes and JavaScript properties.