Implementation details for co-located CSS. Do not use these directly.
Implementation details for co-located CSS. Do not use these directly.
(CSS? x)
Returns true if the given component has css
Returns true if the given component has css
(cssify str)
Replaces slashes and dots with underscore.
Replaces slashes and dots with underscore.
(fq-component comp-class)
(get-class-keys rules)
Gets all used classnames in from the given rules as keywords
Gets all used classnames in from the given rules as keywords
(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.
(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.
(get-prefix nm)
Returns the prefix of a string. [. $ &$ &.]
Returns the prefix of a string. [. $ &$ &.]
(get-selector-keywords selector)
Gets all the keywords that are present in a selector
Gets all the keywords that are present in a selector
(Global? x)
Returns true if the component has global rules
Returns true if the component has global rules
(implements-protocol? x protocol protocol-key)
(kw->localized-classname comp kw)
Gives the localized classname for the given keyword.
Gives the localized classname for the given keyword.
(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.
(localize-kw kw comp)
(localize-name nm comp)
(prefixed-keyword? kw)
Returns true if the given keyword starts with one of [. $ &$ &.]
Returns true if the given keyword starts with one of [. $ &$ &.]
(prefixed-name? nm)
Returns true if the given string starts with one of [. $ &$ &.]
Returns true if the given string starts with one of [. $ &$ &.]
(remove-prefix nm)
Removes the prefix of a string.
Removes the prefix of a string.
(remove-prefix-kw kw)
Removes the prefix of a keyword.
Removes the prefix of a keyword.
(selector? x)
(set-classname m subclasses)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close