datastar.wow events are identical to the ones in the official sdk but they support configurable html and json serialization
datastar.wow events are identical to the ones in the official sdk but they support configurable html and json serialization
(patch-elements! serialize-html sse h)
(patch-elements! serialize-html sse h opts)
Same as d*/patch-elements! except it expects a hiccup form
Same as d*/patch-elements! except it expects a hiccup form
(patch-elements-seq! serialize-html sse frags)
(patch-elements-seq! serialize-html sse frags opts)
Same as d*/patch-elements-seq! except hiccup forms are expected
Same as d*/patch-elements-seq! except hiccup forms are expected
(patch-signals! write-json sse signals)
(patch-signals! write-json sse signals opts)
Same as d*/patch-signals! but json encodes the given signals structure
Same as d*/patch-signals! but json encodes the given signals structure
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |