(include-children this)
Specifies the components (typically direct children) whose CSS should be included.
Specifies the components (typically direct children) whose CSS should be included.
(local-rules this)
Specifies the component's local CSS rules
Specifies the component's local CSS rules
(CSS? x)
Returns true if the given component has css
Returns true if the given component has css
(get-classnames comp)
Returns a map from user-given CSS rule names to fulcro-css localized names of the given component.
Returns a map from user-given CSS rule names to fulcro-css localized names of the given component.
(get-css component)
Recursively gets all global and localized rules (in garden notation) starting at the given component.
Recursively gets all global and localized rules (in garden notation) starting at the given component.
(get-global-rules component)
Get the raw value from the global-rules of a component.
Get the *raw* value from the global-rules of a component.
(get-includes component)
Returns the list of components from the include-children method of a component
Returns the list of components from the include-children method of a component
(get-local-rules component)
Get the raw value from the local-rules of a component.
Get the *raw* value from the local-rules of a component.
(get-nested-includes component)
Recursively finds all includes starting at the given component.
Recursively finds all includes starting at the given component.
(global-rules this)
DEPRECATED. Will be removed in a future release. Do not use for new applications. Use the $
prefix instead.
DEPRECATED. Will be removed in a future release. Do not use for new applications. Use the `$` prefix instead.
(Global? x)
Returns true if the component has global rules
Returns true if the component has global rules
(localize-css component)
Converts prefixed keywords into localized keywords and localizes the values of garden selectors
Converts prefixed keywords into localized keywords and localizes the values of garden selectors
(style-element component)
Returns a React Style element with the (recursive) CSS of the given component. Useful for directly embedding in your UI VDOM.
Returns a React Style element with the (recursive) CSS of the given component. Useful for directly embedding in your UI VDOM.
(upsert-css id root-component)
(Re)place the STYLE element with the provided ID on the document's DOM with the co-located CSS of the specified component.
(Re)place the STYLE element with the provided ID on the document's DOM with the co-located CSS of the specified component.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close