(create h & [m])
Create a DOM element from hiccup style vector. Second argument is an optional map of options.
An instance of HTMLElement
is returned.
Options:
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
(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:
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close