590 search results for Turbo

54 lines | templates/vinyl/browse.html.twig
// ... lines 1 - 27
<turbo-frame id="mix-browse-list-{{ pager.currentPage }}">
// ... lines 29 - 49
</turbo-frame>
// ... lines 51 - 54
See Code Block in Script
... added to the database from the modal. This second column is wrapped in a Turbo Frame. The challenge I'm facing is that the original Live Component in column one is loaded in a Turbo Frame. When there is a form success ...
Hey @Brandon! Hmm. Short answer: you can disable the turbo page cache. It's not a super important part of Turbo and it tends to be the toughest part to get right. Long answer: you said you're using `Tailwind Nav ...
weaverryan
weaverryan
Read Full Comment
In turbo 8 we also have "dynamic" for CSS, see https://github.com/hotwired/turbo/pull/1140 ...
Seems that prefetch now inside turbo 8. https://github.com/hotwired/turbo/pull/1101 ...
// ... lines 1 - 29
{% block remove %}
<turbo-stream action="remove" target="product-review-{{ id }}"></turbo-stream>
{% endblock %}
See Code Block in Script
12 lines | templates/product/reviews.stream.html.twig
// ... lines 1 - 6
<turbo-stream action="replace" target="product-{{ product.id }}-review-list">
<template>
{{ include('product/_reviews_list.html.twig') }}
</template>
</turbo-stream>
See Code Block in Script
35 lines | templates/product/_reviews.html.twig
<div {{ turbo_stream_listen('product-reviews') }}></div>
{{ include('product/_reviews_list.html.twig') }}
// ... lines 4 - 6
<turbo-frame id="product-reviews-form">
// ... lines 8 - 33
</turbo-frame>
See Code Block in Script
<turbo-stream action="update" target="product-quick-stats">
<template>
{{ include('product/_quickStats.html.twig') }}
</template>
</turbo-stream>
See Code Block in Script
26 lines | templates/_modal.html.twig
// ... lines 1 - 14
<turbo-frame
class="modal-body"
src="{{ modalSrc }}"
id="{{ id }}"
loading="lazy"
>
{{ modalContent|default('Loading...') }}
</turbo-frame>
// ... lines 23 - 26
See Code Block in Script
33 lines | templates/_modal.html.twig
// ... lines 1 - 14
<turbo-frame
class="modal-body"
src="{{ modalSrc }}"
id="{{ id }}"
>
{{ modalContent|default('Loading...') }}
</turbo-frame>
// ... lines 22 - 33
See Code Block in Script
32 lines | templates/_modal.html.twig
// ... lines 1 - 14
<turbo-frame
class="modal-body"
src="{{ modalSrc }}"
>
{{ modalContent|default('Loading...') }}
</turbo-frame>
// ... lines 21 - 32
See Code Block in Script
32 lines | templates/cart/cart.html.twig
// ... lines 1 - 11
<turbo-frame id="cart-sidebar" src="{{ path('_app_cart_product_featured') }}" target="_top">
Loading...
</turbo-frame>
// ... lines 15 - 32
See Code Block in Script
101 lines | templates/base.html.twig
// ... lines 1 - 87
{% block weather_widget %}
<turbo-frame id="weather_widget" src="{{ path('app_weather') }}" loading="lazy"></turbo-frame>
{% endblock %}
// ... lines 93 - 101
See Code Block in Script
101 lines | templates/base.html.twig
// ... lines 1 - 87
{% block weather_widget %}
<turbo-frame id="weather_widget" src="{{ path('app_weather') }}"></turbo-frame>
{% endblock %}
// ... lines 93 - 101
See Code Block in Script
{% block success_stream %}
<turbo-stream action="remove" target="voyage-list-item-{{ id }}"></turbo-stream>
{% endblock %}
See Code Block in Script
31 lines | templates/voyage/edit.html.twig
// ... lines 1 - 25
{% block stream_success %}
<turbo-stream action="update" target="modal">
// ... line 28
</turbo-stream>
{% endblock %}
See Code Block in Script
31 lines | templates/voyage/edit.html.twig
// ... lines 1 - 25
{% block stream_success %}
<turbo-stream action="update" target="modal">
<template></template>
</turbo-stream>
{% endblock %}
See Code Block in Script
<turbo-frame id="modal">
{% block body %}{% endblock %}
{{ include('_frameSuccessStreams.html.twig', { frame: 'modal' }) }}
</turbo-frame>
See Code Block in Script
34 lines | importmap.php
// ... lines 1 - 15
return [
// ... lines 17 - 29
'@hotwired/turbo' => [
'url' => 'https://cdn.jsdelivr.net/npm/@hotwired/turbo@7.3.0/+esm',
],
];
See Code Block in Script