Liking cljdoc? Tell your friends :D

herb.runtime


inject-obj!clj/s

(inject-obj! sym dispatch & obj)

Inject collection of style objects in a common element, used by passing a dispatch in the form of :keyframes or :global

Inject collection of style objects in a common element, used by passing a
dispatch in the form of :keyframes or :global
sourceraw docstring

inject-style!clj/s

(inject-style! identifier new data-str)

Main interface to runtime. Takes an identifier, new garden style data structure and a fully qualified name. Check if identifier exist in DOM already, and if it does, compare new with current to make sure garden is not called to create the same style string again

Main interface to runtime. Takes an identifier, new garden style data structure
and a fully qualified name. Check if identifier exist in DOM already, and if it
does, compare `new` with `current` to make sure garden is not called to create
the same style string again
sourceraw docstring

optionsclj/s

Atom containing a map with options passed from herb.core/init!. Entry includes :vendors and :auto-prefix

Atom containing a map with options passed from `herb.core/init!`.
Entry includes `:vendors` and `:auto-prefix`
sourceraw docstring

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

× close