Browse Source

Add `sse-close`

Billy Barrow 1 tuần trước cách đây
mục cha
commit
9d12ec79c9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/Component.vala

+ 1 - 0
src/Component.vala

@@ -174,6 +174,7 @@ namespace Spry {
                 var path = _continuation_provider.get_continuation_path(this);
                 node.set_attribute("hx-ext", "sse");
                 node.set_attribute("sse-connect", path);
+                node.set_attribute("sse-close", "_spry-close");
                 node.remove_attribute("spry-continuation");
             }