Liking cljdoc? Tell your friends :D

komponentit.autosize


apply-box-sizingcljs

(apply-box-sizing value {:keys [box-sizing border-size padding-size]})
source

base-sizer-stylecljs

source

base-sizer-style-strcljs

source

copy-stylescljs

(copy-styles style props)
source

get-property-valuecljs

(get-property-value style k)
source

inputcljs

(input {:keys [placeholder placeholder-is-min-width?]})

Calculate width of the input based on the contents.

Content width is calculated using separate hidden element. This element is not managed by React and is placed outside of this component, for easier styling.

Calculate width of the input based on the contents.

Content width is calculated using separate hidden element. This
element is not managed by React and is placed outside of this
component, for easier styling.
sourceraw docstring

input-node-stylescljs

(input-node-styles el)
source

input-sizercljs

source

node-heightcljs

(node-height value
             min-rows
             max-rows
             {:keys [box-sizing border-size padding-size sizer-style]
              :as styles})
source

node-widthcljs

(node-width value
            placeholder
            placeholder-is-min-width?
            {:keys [sizer-style] :as styles})
source

size-style-propscljs

List of style properties which affect the size of textarea

List of style properties which affect the size of textarea
sourceraw docstring

textareacljs

(textarea {:keys [min-rows max-rows]})

Calculate height of the textarea based on the text contents.

Content height is calculated using separate hidden textarea. This textarea is not managed by React and is placed outside of this component, for easier styling.

Calculate height of the textarea based on the text contents.

Content height is calculated using separate hidden textarea. This
textarea is not managed by React and is placed outside of this
component, for easier styling.
sourceraw docstring

textarea-node-stylescljs

(textarea-node-styles el)
source

textarea-sizercljs

source

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

× close