💡 Double-click any item to quickly edit it inline
🔄 Drag the grip handle to reorder tasks by priority
{
const preview = document.querySelector('#list-json');
if (preview) {
const data = {
items: e.detail.value,
count: e.detail.value.length,
timestamp: new Date().toISOString()
};
preview.textContent = JSON.stringify(data, null, 2);
}
}}
>
{
"items": [],
"count": 0,
"timestamp": "${new Date().toISOString()}"
}
✨ Add, edit, remove, and reorder items to see the JSON output update in real-time