(addSink reg name entry)adds a sink to the registry
adds a sink to the registry
(addSource reg name portalId child)adds a source for render
adds a source for render
(captureSink reg name portalId onSink)captures the sink ref
captures the sink ref
(newRegistry)creates a new portal registry
creates a new portal registry
(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"))
=> {}(removeSource reg name portalId)removes a source for render
removes a source for render
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |