Liking cljdoc? Tell your friends :D

js.react.helper-portal


addSinkclj

(addSink reg name entry)

adds a sink to the registry

adds a sink to the registry
raw docstring

addSourceclj

(addSource reg name portalId child)

adds a source for render

adds a source for render
raw docstring

captureSinkclj

(captureSink reg name portalId onSink)

captures the sink ref

captures the sink ref
raw docstring

newRegistryclj

(newRegistry)

creates a new portal registry

creates a new portal registry
raw docstring

removeSinkclj

(removeSink reg name)

removes a sink

(!.js (portal/removeSink {:sinks {:hello {:setSource (fn:>)}} :initial {} :sources {:hello {:hello-1 123 :hello-2 456 :hello-3 789}}} "hello")) => {}

removes a sink

 (!.js
  (portal/removeSink
   {:sinks  {:hello {:setSource (fn:>)}}
    :initial   {}
    :sources   {:hello {:hello-1 123
                        :hello-2 456
                        :hello-3 789}}}
   "hello"))
=> {}
raw docstring

removeSourceclj

(removeSource reg name portalId)

removes a source for render

removes a source for render
raw docstring

triggerSinkclj

(triggerSink reg name)

triggers the registry

triggers the registry
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close