Jelajahi Sumber

Add `sse-close`

Billy Barrow 1 Minggu lalu
induk
melakukan
9d12ec79c9
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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");
             }