Liking cljdoc? Tell your friends :D

starfederation.datastar.clojure.api.common


add-boolean-option?clj

(add-boolean-option? default-val val)

Utility used to test whether an boolean option should result in a sse event data-line. Returns true if val a boolean and isn't the default-val.

Utility used to test whether an boolean option should result in a sse event
data-line. Returns true if `val` a boolean and isn't the `default-val`.
sourceraw docstring

add-data-lines!clj

(add-data-lines! data-lines! prefix lines-seq)

Add several data-lines to the data-lines! transient vector.

Add several data-lines to the `data-lines!` transient vector.
sourceraw docstring

add-opt-line!clj

(add-opt-line! data-lines! prefix v)

Add an option v line to the transient data-lines! vector.

Args:

  • data-lines: a transient vector of data-lines that will be written in a sse event
  • prefix: The Datastar specific preffix for that line
  • v: the value for that line
Add an option `v` line to the transient `data-lines!` vector.

Args:
- `data-lines`: a transient vector of data-lines that will be written in a sse
  event
- `prefix`: The Datastar specific preffix for that line
- `v`: the value for that line
sourceraw docstring

attributesclj

source

auto-removeclj

source

idclj

source

only-if-missingclj

source

patch-modeclj

source

retry-durationclj

source

selectorclj

source

use-view-transitionclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close