Liking cljdoc? Tell your friends :D

fulcro-css.css


CSS?clj/s

(CSS? class) : Returns true if the given component has css.

`(CSS? class)` : Returns true if the given component has css.
raw docstring

cssifyclj/s

Replaces slashes and dots with underscore.

Replaces slashes and dots with underscore.
raw docstring

fq-componentclj/s


get-classnamesclj/s

(get-classnames class) : Returns a map from user-given CSS rule names to localized names of the given component.

`(get-classnames class)` : Returns a map from user-given CSS rule names to localized names of the given component.
raw docstring

get-cssclj/s

(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.
raw docstring

get-css-rulesclj/s

(get-css-rules component)

Gets the raw local and global rules from the given component.

Gets the raw local and global rules from the given component.
raw docstring

get-global-rulesclj/s

(get-global-rules class) : Get the raw value from the global-rules of a component.

`(get-global-rules class)` : Get the *raw* value from the global-rules of a component.
raw docstring

get-includesclj/s

(get-inculdes class) :Returns the list of components from the include-children method of a component

`(get-inculdes class)` :Returns the list of components from the include-children method of a component
raw docstring

get-local-rulesclj/s

(get-local-rules class) : Get the raw value from the local-rules of a component.

`(get-local-rules class)` : Get the *raw* value from the local-rules of a component.
raw docstring

get-nested-includesclj/s

(get-nested-includes class) : Recursively finds all includes starting at the given component.

`(get-nested-includes class)` : Recursively finds all includes starting at the given component.
raw docstring

Global?clj/s

(Global? class) : Returns true if the component has global rules

`(Global? class)` : Returns true if the component has global rules
raw docstring

local-classclj/s

Generates a string name of a localized CSS class. This function combines the fully-qualified name of the given class with the (optional) specified name.

Generates a string name of a localized CSS class. This function combines the fully-qualified name of the given class
with the (optional) specified name.
raw docstring

localize-cssclj/s

(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
raw docstring

localize-selectorclj/s

(localize-selector selector comp)

raw-cssclj/s

(raw-css component)

Returns a string that contains the raw CSS for the rules defined on the given component's sub-tree. This can be used for server-side rendering of the style element, or in a style element as the :dangerouslySetInnerHTML/:html value:

(dom/style #js {:dangerouslySetInnerHTML #js {:__html (raw-css component)}})

Returns a string that contains the raw CSS for the rules defined on the given component's sub-tree. This can be used for
server-side rendering of the style element, or in a `style` element as the :dangerouslySetInnerHTML/:html value:

(dom/style #js {:dangerouslySetInnerHTML #js {:__html (raw-css component)}})
raw docstring

remove-from-domcljs

(remove-from-dom id)

Remove the given element from the DOM by ID

Remove the given element from the DOM by ID
raw docstring

set-classnameclj/s


style-elementcljs

(style-element component)

Returns a React Style element with the (recursive) CSS of the given component. Useful for directly embedding in your UI VDOM. DEPRECATED: Use fulcro-css.css-injection/style-element instead.

Returns a React Style element with the (recursive) CSS of the given component. Useful for directly embedding in your UI VDOM.
DEPRECATED: Use fulcro-css.css-injection/style-element instead.
raw docstring

upsert-csscljs

(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. DEPRECATED: Use fulcro-css.css-injection/upsert-css instead.

(Re)place the STYLE element with the provided ID on the document's DOM  with the co-located CSS of the specified component.
DEPRECATED: Use fulcro-css.css-injection/upsert-css instead.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close