Liking cljdoc? Tell your friends :D

fulcro.ui.elements


first-node-of-typeclj/s

(first-node-of-type react-class sequence-of-react-instances)

Finds (and returns) the first child that is an instance of the given React class (or nil if not found).

Finds (and returns) the first child that is an instance of the given React class (or nil if not found).
sourceraw docstring

IFramecljs

(IFrame)
source

react-instance?clj/s

(react-instance? react-class react-element)

Returns the react-instance (which is logically true) iff the given react instance is an instance of the given react class. Otherwise returns nil.

Returns the react-instance (which is logically true) iff the given react instance is an instance of the given react class.
Otherwise returns nil.
sourceraw docstring

ShadowDOMcljs

(ShadowDOM)
source

start-framecljs

(start-frame this)
source

ui-iframecljs

(ui-iframe props child)
source

ui-shadow-domclj/s≠

clj
(ui-shadow-dom props children)
cljs

Create a div with a shadow DOM, and render the given child (singular) within that root.

EXPERIMENTAL!!!

WARNING: Some browsers may require a polyfill to enable shadow DOM. See also ui-iframe.

Props:

:open-boundary? : Should the outer DOM have js access to the shadow one? (default true) :delegates-focus? : Should focus be delegated? (default false)

Create a div with a shadow DOM, and render the given child (singular) within that root.

EXPERIMENTAL!!!

WARNING: Some browsers may require a polyfill to enable shadow DOM. See also `ui-iframe`.

Props:

:open-boundary? : Should the outer DOM have js access to the shadow one? (default true)
:delegates-focus? : Should focus be delegated? (default false)
source (clj)source (cljs)raw docstring

update-frame-contentcljs

(update-frame-content this child)
source

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

× close