Liking cljdoc? Tell your friends :D

re-com.text


labelcljs

(label & {:keys [label on-click width class style attr] :as args})

Returns markup for a basic label

Returns markup for a basic label
sourceraw docstring

label-args-desccljs

source

pcljs

(p & children)

acts like [:p ]

Creates a paragraph of body text, expected to have a font-szie of 14px or 15px, which should have limited width.

Why limited text width? See http://baymard.com/blog/line-length-readability

The actual font-size is inherited.

At 14px, 450px will yield between 69 and 73 chars. At 15px, 450px will yield about 66 to 70 chars. So we're at the upper end of the prefered 50 to 75 char range.

If the first child is a map, it is interpreted as a map of styles / attributes.

acts like [:p ]

Creates a paragraph of body text, expected to have a font-szie of 14px or 15px,
which should have limited width.

Why limited text width?  See http://baymard.com/blog/line-length-readability

The actual font-size is inherited.

At 14px, 450px will yield between 69 and 73 chars.
At 15px, 450px will yield about 66 to 70 chars.
So we're at the upper end of the prefered 50 to 75 char range.

If the first child is a map, it is interpreted as a map of styles / attributes.
sourceraw docstring

titlecljs

(title &
       {:keys [label level underline? margin-top margin-bottom class style attr]
        :or {margin-top "0.6em" margin-bottom "0.3em"}
        :as args})

A title with four preset levels

A title with four preset levels
sourceraw docstring

title-args-desccljs

source

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

× close