@@ -1056,60 +1056,60 @@ turbo_exempts_page_from_cache()
10561056
10571057 {{ turbo_exempts_page_from_cache() }}
10581058
1059- {# renders as: #}
1060- <meta name="turbo-cache-control" content="no-cache">
1061-
10621059 turbo_exempts_page_from_preview()
10631060.................................
10641061
10651062.. code-block :: twig
10661063
10671064 {{ turbo_exempts_page_from_preview() }}
10681065
1069- {# renders as: #}
1070- <meta name="turbo-cache-control" content="no-preview">
1071-
1072-
10731066 turbo_page_requires_reload()
10741067............................
10751068
10761069.. code-block :: twig
10771070
10781071 {{ turbo_page_requires_reload() }}
10791072
1080- {# renders as: #}
1081- <meta name="turbo-visit-control" content="reload">
1082-
10831073 turbo_refreshes_with()
10841074............................
10851075
10861076.. code-block :: twig
10871077
1088- {{ turbo_page_requires_reload( ) }}
1078+ {{ turbo_refreshes_with(method: 'replace', scroll: 'reset' ) }}
10891079
1090- {# renders as: #}
1091- <meta name="turbo-refresh-method" content="replace">
1092- <meta name="turbo-refresh-scroll" content="reset">
1080+ ``method `` *(optional) *
1081+ **type **: ``string `` **default **: ``replace ``
1082+ ``scroll `` *(optional) *
1083+ **type **: ``string `` **default **: ``reset ``
1084+
1085+ Creates a ``Translatable `` object that can be passed to the
1086+ :ref: `trans filter <reference-twig-filter-trans >`.
10931087
10941088turbo_refresh_method()
10951089......................
10961090
10971091.. code-block :: twig
10981092
1099- {{ turbo_refresh_method() }}
1093+ {{ turbo_refresh_method(method: 'replace' ) }}
11001094
1101- {# renders as: #}
1102- <meta name="turbo-refresh-method" content="replace">
1095+ ``method `` *(optional) *
1096+ **type **: ``string `` **default **: ``replace ``
1097+
1098+ Creates a ``Translatable `` object that can be passed to the
1099+ :ref: `trans filter <reference-twig-filter-trans >`.
11031100
11041101turbo_refresh_scroll()
11051102......................
11061103
11071104.. code-block :: twig
11081105
1109- {{ turbo_refresh_scroll() }}
1106+ {{ turbo_refresh_scroll(scroll: 'reset' ) }}
11101107
1111- {# renders as: #}
1112- <meta name="turbo-refresh-scroll" content="reset">
1108+ ``scroll `` *(optional) *
1109+ **type **: ``string `` **default **: ``reset ``
1110+
1111+ Creates a ``Translatable `` object that can be passed to the
1112+ :ref: `trans filter <reference-twig-filter-trans >`.
11131113
11141114Backward Compatibility promise
11151115------------------------------
0 commit comments