Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

hipo.core


createclj/smacro

(create h & [m])

Create a DOM element from hiccup style vector. Second argument is an optional map of options. An instance of HTMLElementis returned.

Options:

  • force-compilation? fail create if DOM construction can't be fully compiled
  • force-interpretation? bypass the DOM construction compilation
  • create-element-fn
  • namespaces
  • attribute-handlers
Create a DOM element from hiccup style vector. Second argument is an optional map of options.
An instance of `HTMLElement`is returned.

Options:

* force-compilation? fail create if DOM construction can't be fully compiled
* force-interpretation? bypass the DOM construction compilation
* create-element-fn
* namespaces
* attribute-handlers
sourceraw docstring

get-hiccupcljs

(get-hiccup el)
source

reconciliate!cljs

(reconciliate! el nh)
(reconciliate! el nh m)
(reconciliate! el oh nh m)

Reconciliate an existing DOM element to match an hiccup style vector. Reconciliation works by diffing the hiccup used to create the DOM element with a new hiccup. Element created with hipo.core/create can be reconcilied without providing the previous hiccup. Last argument is an optional map of options.

Options:

  • force-compilation? fail create if DOM construction can't be fully compiled
  • force-interpretation? bypass the DOM construction compilation
  • create-element-fn
  • namespaces
  • attribute-handlers
  • interceptors
Reconciliate an existing DOM element to match an hiccup style vector.
Reconciliation works by diffing the hiccup used to create the DOM element with a new hiccup. Element created with `hipo.core/create` can be reconcilied without providing the previous hiccup.
Last argument is an optional map of options.

Options:

* force-compilation? fail create if DOM construction can't be fully compiled
* force-interpretation? bypass the DOM construction compilation
* create-element-fn
* namespaces
* attribute-handlers
* interceptors
sourceraw docstring

set-hiccup!cljs

(set-hiccup! el h)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close