(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).
(IFrame)
(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.
(ShadowDOM)
(start-frame this)
(ui-iframe props child)
(ui-shadow-dom props children)
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)
(update-frame-content this child)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close