{% with direction=direction|default:"bottom" size=size|default:"md" trigger_variant=trigger_variant|default:"default" handle=handle|default:True %}
parseInt(p)), handleDragStart(e) { this.isDragging = true; this.startY = e.touches ? e.touches[0].clientY : e.clientY; this.currentY = this.startY; }, handleDragMove(e) { if (!this.isDragging) return; this.currentY = e.touches ? e.touches[0].clientY : e.clientY; const deltaY = this.currentY - this.startY; if (deltaY > 100) this.open = false; }, handleDragEnd() { this.isDragging = false; } }" @keydown.escape.window="open = false" class="{{ class|default:'' }}" >
{% endwith %}