Liking cljdoc? Tell your friends :D

spade.react


contextcljs

source

Providercljs

source

with-domcljs

(with-dom get-dom-target & _children)

A convenience for rendering Spade styles into an alternate dom target. The first argument may either be an actual DOM element, or a function which returns one.

See with-style-container, which this uses under the hood.

A convenience for rendering Spade styles into an alternate dom target.
The first argument may either be an actual DOM element, or a function which
returns one.

See `with-style-container`, which this uses under the hood.
sourceraw docstring

with-style-containercljs

(with-style-container container & children)

Uses the provided IStyleContainer to render the styles of the children elements. This is a reagent-style React component, meant to wrap whatever part of your app needs to have its styled rendered elsewhere (often the root of the app), eg:

[with-style-container container [your-view]]

Note that behavior in the presence of a reactively changing container is undefined. You should expect to declare one container per render.

Uses the provided IStyleContainer to render the styles of the children
elements. This is a reagent-style React component, meant to wrap whatever
part of your app needs to have its styled rendered elsewhere (often the
root of the app), eg:

  [with-style-container container
   [your-view]]

Note that behavior in the presence of a reactively changing `container` is
undefined. You should expect to declare one container per render.
sourceraw docstring

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

× close