Liking cljdoc? Tell your friends :D

reitit.frontend.controllers

Provides apply-controllers function

Provides apply-controllers function
raw docstring

apply-controllercljs

(apply-controller controller method)

Run side-effects (:start or :stop) for controller. The side-effect function is called with controller identity value.

Run side-effects (:start or :stop) for controller.
The side-effect function is called with controller identity value.
sourceraw docstring

apply-controllerscljs

(apply-controllers old-controllers new-match)

Applies changes between current controllers and those previously enabled. Reinitializes controllers whose identity has changed.

Applies changes between current controllers and
those previously enabled. Reinitializes controllers whose
identity has changed.
sourceraw docstring

get-identitycljs

(get-identity {:keys [identity parameters params]} match)

Get controller identity given controller and match.

To select interesting properties from Match :parameters option can be set. Value should be param-type => [param-key] Resulting value is map of param-type => param-key => value.

For other uses, :identity option can be used to provide function from Match to identity.

Default value is nil, i.e. controller identity doesn't depend on Match.

Get controller identity given controller and match.

To select interesting properties from Match :parameters option can be set.
Value should be param-type => [param-key]
Resulting value is map of param-type => param-key => value.

For other uses, :identity option can be used to provide function from
Match to identity.

Default value is nil, i.e. controller identity doesn't depend on Match.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

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