edition/partials/shop/top.hbs

48 lines
1.0 KiB
Handlebars

<div>
<div
hx-get="shop/totals/"
hx-trigger="load delay:1ms, every 1s"
hx-swap="outerHTML"
hx-on::config-request="
event.detail.path += '?show=' + new URLSearchParams(window.location.search).get('show');
"
></div>
<div id="choice-configure"></div>
<div id="choice-buy"></div>
<div id="order-form-rose-ash-shop"></div>
<div id="order-detail-rose-ash-shop"></div>
<div id="total-all"></div>
<div id="total-me"></div>
<div
id="all-orders-rose-ash-shop-ws"
></div>
<div
id="me-orders-rose-ash-shop-ws"
></div>
<div
id="boot-rose-ash-shop"
hx-get="shop/choice/"
hx-trigger="load delay:1ms, every 1s"
hx-on::config-request= "
event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show');
if (new URLSearchParams(window.location.search).get('orderId')) {
event.detail.path += '&orderId=' + new URLSearchParams(window.location.search).get('orderId');
}"
hx-swap="none"
>
</div>
</div>