Laden...
';
fetch($event.detail.url, { headers: { 'X-Requested-With': 'XMLHttpRequest' } })
.then(r => r.text())
.then(t => {
html = t;
$nextTick(() => {
window.dispatchEvent(new CustomEvent('dg:tendetail-mounted', { detail: { root: '#dg-modal-body' } }));
});
})
.catch(() => { window.location = $event.detail.url; });
"
@open-furniture.window="
open = true;
title = $event.detail.title || 'Meer info';
html = 'Laden...
';
fetch($event.detail.url, { headers: { 'X-Requested-With': 'XMLHttpRequest' } })
.then(r => r.text())
.then(t => { html = t; $nextTick(() => { window.dispatchEvent(new CustomEvent('dg:tendetail-mounted', { detail: { root: '#dg-modal-body' } })); }); })
.catch(() => { window.location = $event.detail.url; });
"
@keydown.escape.window="open=false"
class="fixed inset-0 z-[9999]"
>