(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.
(node-height value
min-rows
max-rows
{:keys [box-sizing border-size padding-size sizer-style]
:as styles})
(node-width value
placeholder
placeholder-is-min-width?
{:keys [sizer-style] :as styles})
List of style properties which affect the size of textarea
List of style properties which affect the size of textarea
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close