(attrs attributes)
Compile attributes
map into a JavaScript literal.
Compile `attributes` map into a JavaScript literal.
(check-box3202 name)
(check-box3202 name checked?)
(check-box3202 name checked? value)
Creates a check box.
Creates a check box.
(color-field3151 name__3102__auto__)
(color-field3151 name__3102__auto__ value__3103__auto__)
Creates a color input field.
Creates a color input field.
The React.js create element function.
The React.js create element function.
(date-field3154 name__3102__auto__)
(date-field3154 name__3102__auto__ value__3103__auto__)
Creates a date input field.
Creates a date input field.
(datetime-field3157 name__3102__auto__)
(datetime-field3157 name__3102__auto__ value__3103__auto__)
Creates a datetime input field.
Creates a datetime input field.
(datetime-local-field3160 name__3102__auto__)
(datetime-local-field3160 name__3102__auto__ value__3103__auto__)
Creates a datetime-local input field.
Creates a datetime-local input field.
(defelem name & fdecl)
Defines a function that will return a element vector. If the first argument passed to the resulting function is a map, it merges it with the attribute map of the returned element value.
Defines a function that will return a element vector. If the first argument passed to the resulting function is a map, it merges it with the attribute map of the returned element value.
(defhtml name & fdecl)
Define a function, but wrap its output in an implicit html macro.
Define a function, but wrap its output in an implicit html macro.
(drop-down3219 name options)
(drop-down3219 name options selected)
Creates a drop-down box using the <select> tag.
Creates a drop-down box using the <select> tag.
(email-field3163 name__3102__auto__)
(email-field3163 name__3102__auto__ value__3103__auto__)
Creates a email input field.
Creates a email input field.
(file-field3166 name__3102__auto__)
(file-field3166 name__3102__auto__ value__3103__auto__)
Creates a file input field.
Creates a file input field.
(form-to3228 [method action] & body)
Create a form that points to a particular method and route. e.g. (form-to [:put "/post"] ...)
Create a form that points to a particular method and route. e.g. (form-to [:put "/post"] ...)
(gen-input-field input-type)
Generate an input field of input-type
.
Generate an input field of `input-type`.
(gen-input-fields)
Generate input fields for all input-fields
.
Generate input fields for all `input-fields`.
(hidden-field3169 name__3102__auto__)
(hidden-field3169 name__3102__auto__ value__3103__auto__)
Creates a hidden input field.
Creates a hidden input field.
(html form)
Compile the Hiccup form
. Produces code that evaluates to React
elements when running under ClojureScript environment, or
om.dom.Element records when running under Clojure.
Compile the Hiccup `form`. Produces code that evaluates to React elements when running under ClojureScript environment, or om.dom.Element records when running under Clojure.
(html* form)
Compile the Hiccup form
. Always produces code that evaluates to
React elements.
Compile the Hiccup `form`. Always produces code that evaluates to React elements.
(html-expand form)
Macro expand the Hiccup content
.
Macro expand the Hiccup `content`.
(image3142 src)
(image3142 src alt)
Create an image element.
Create an image element.
(include-css & styles)
Include a list of external stylesheet files.
Include a list of external stylesheet files.
(include-js src)
Include the JavaScript library at src
.
Include the JavaScript library at `src`.
(include-react)
Include Facebook's React JavaScript library.
Include Facebook's React JavaScript library.
(label3225 name text)
Creates a label for an input field with the supplied name.
Creates a label for an input field with the supplied name.
(link-to3122 url & content)
Wraps some content in a HTML hyperlink with the supplied URL.
Wraps some content in a HTML hyperlink with the supplied URL.
(mail-to3125 e-mail & [content])
Wraps some content in a HTML hyperlink with the supplied e-mail address. If no content provided use the e-mail address as content.
Wraps some content in a HTML hyperlink with the supplied e-mail address. If no content provided use the e-mail address as content.
(month-field3172 name__3102__auto__)
(month-field3172 name__3102__auto__ value__3103__auto__)
Creates a month input field.
Creates a month input field.
(number-field3175 name__3102__auto__)
(number-field3175 name__3102__auto__ value__3103__auto__)
Creates a number input field.
Creates a number input field.
(ordered-list3137 coll)
Wrap a collection in an ordered list.
Wrap a collection in an ordered list.
(password-field3178 name__3102__auto__)
(password-field3178 name__3102__auto__ value__3103__auto__)
Creates a password input field.
Creates a password input field.
(radio-button3205 group)
(radio-button3205 group checked?)
(radio-button3205 group checked? value)
Creates a radio button.
Creates a radio button.
(range-field3181 name__3102__auto__)
(range-field3181 name__3102__auto__ value__3103__auto__)
Creates a range input field.
Creates a range input field.
(reset-button3227 text)
Creates a form reset button.
Creates a form reset button.
(search-field3184 name__3102__auto__)
(search-field3184 name__3102__auto__ value__3103__auto__)
Creates a search input field.
Creates a search input field.
(select-options3208 coll)
Creates a seq of option tags from a collection.
Creates a seq of option tags from a collection.
(submit-button3226 text)
Creates a submit button.
Creates a submit button.
(tel-field3187 name__3102__auto__)
(tel-field3187 name__3102__auto__ value__3103__auto__)
Creates a tel input field.
Creates a tel input field.
(text-area3222 name)
(text-area3222 name value)
Creates a text area element.
Creates a text area element.
(text-field3190 name__3102__auto__)
(text-field3190 name__3102__auto__ value__3103__auto__)
Creates a text input field.
Creates a text input field.
(time-field3193 name__3102__auto__)
(time-field3193 name__3102__auto__ value__3103__auto__)
Creates a time input field.
Creates a time input field.
(unordered-list3132 coll)
Wrap a collection in an unordered list.
Wrap a collection in an unordered list.
(url-field3196 name__3102__auto__)
(url-field3196 name__3102__auto__ value__3103__auto__)
Creates a url input field.
Creates a url input field.
(week-field3199 name__3102__auto__)
(week-field3199 name__3102__auto__ value__3103__auto__)
Creates a week input field.
Creates a week input field.
(with-base-url base-url & body)
Sets a base URL that will be prepended onto relative URIs. Note that for this to work correctly, it needs to be placed outside the html macro.
Sets a base URL that will be prepended onto relative URIs. Note that for this to work correctly, it needs to be placed outside the html macro.
(with-group group & body)
Group together a set of related form fields.
Group together a set of related form fields.
(wrap-attrs func)
Add an optional attribute argument to a function that returns a element vector.
Add an optional attribute argument to a function that returns a element vector.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close