Liking cljdoc? Tell your friends :D

fulcro-css.css


CSSclj/s≠protocol

include-childrenclj/s

(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-rulesclj/s

(local-rules this)

Specifies the component's local CSS rules

Specifies the component's local CSS rules
source

CSS?clj/s

(CSS? x)

Returns true if the given component has css

Returns true if the given component has css
sourceraw docstring

cssifyclj/s

(cssify str)

Replaces slashes and dots with underscore.

Replaces slashes and dots with underscore.
sourceraw docstring

fq-componentclj/s

(fq-component comp-class)
source

get-classnamesclj/s

(get-classnames comp)

Returns a map from user-given CSS rule names to localized names of the given component.

Returns a map from user-given CSS rule names to localized names of the given component.
sourceraw 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.
sourceraw docstring

get-global-rulesclj/s

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

get-includesclj/s

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

get-local-rulesclj/s

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

get-nested-includesclj/s

(get-nested-includes component)

Recursively finds all includes starting at the given component.

Recursively finds all includes starting at the given component.
sourceraw docstring

Globalclj/s≠protocol

global-rulesclj/s

(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.
source

Global?clj/s

(Global? x)

Returns true if the component has global rules

Returns true if the component has global rules
sourceraw docstring

implements-protocol?clj

(implements-protocol? x protocol protocol-key)
source

local-classclj/s

(local-class comp-class)
(local-class comp-class nm)

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.
sourceraw 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
sourceraw docstring

localize-selectorclj/s

(localize-selector selector comp)
source

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)}})
sourceraw 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
sourceraw docstring

set-classnameclj/s

(set-classname m subclasses)
source

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.

Returns a React Style element with the (recursive) CSS of the given component. Useful for directly embedding in your UI VDOM.
sourceraw 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.

(Re)place the STYLE element with the provided ID on the document's DOM  with the co-located CSS of the specified component.
sourceraw docstring

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

× close