(attrs attributes)
Compile attributes
map into a JavaScript literal.
Compile `attributes` map into a JavaScript literal.
(check-box3125 name)
(check-box3125 name checked?)
(check-box3125 name checked? value)
Creates a check box.
Creates a check box.
(color-field3074 name__3025__auto__)
(color-field3074 name__3025__auto__ value__3026__auto__)
Creates a color input field.
Creates a color input field.
The React.js create element function.
The React.js create element function.
(date-field3077 name__3025__auto__)
(date-field3077 name__3025__auto__ value__3026__auto__)
Creates a date input field.
Creates a date input field.
(datetime-field3080 name__3025__auto__)
(datetime-field3080 name__3025__auto__ value__3026__auto__)
Creates a datetime input field.
Creates a datetime input field.
(datetime-local-field3083 name__3025__auto__)
(datetime-local-field3083 name__3025__auto__ value__3026__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-down3142 name options)
(drop-down3142 name options selected)
Creates a drop-down box using the <select> tag.
Creates a drop-down box using the <select> tag.
(email-field3086 name__3025__auto__)
(email-field3086 name__3025__auto__ value__3026__auto__)
Creates a email input field.
Creates a email input field.
(file-field3089 name__3025__auto__)
(file-field3089 name__3025__auto__ value__3026__auto__)
Creates a file input field.
Creates a file input field.
(form-to3151 [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-field3092 name__3025__auto__)
(hidden-field3092 name__3025__auto__ value__3026__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`.
(image3065 src)
(image3065 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.
(label3148 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-to3045 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-to3048 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-field3095 name__3025__auto__)
(month-field3095 name__3025__auto__ value__3026__auto__)
Creates a month input field.
Creates a month input field.
(number-field3098 name__3025__auto__)
(number-field3098 name__3025__auto__ value__3026__auto__)
Creates a number input field.
Creates a number input field.
(ordered-list3060 coll)
Wrap a collection in an ordered list.
Wrap a collection in an ordered list.
(password-field3101 name__3025__auto__)
(password-field3101 name__3025__auto__ value__3026__auto__)
Creates a password input field.
Creates a password input field.
(radio-button3128 group)
(radio-button3128 group checked?)
(radio-button3128 group checked? value)
Creates a radio button.
Creates a radio button.
(range-field3104 name__3025__auto__)
(range-field3104 name__3025__auto__ value__3026__auto__)
Creates a range input field.
Creates a range input field.
(reset-button3150 text)
Creates a form reset button.
Creates a form reset button.
(search-field3107 name__3025__auto__)
(search-field3107 name__3025__auto__ value__3026__auto__)
Creates a search input field.
Creates a search input field.
(select-options3131 coll)
Creates a seq of option tags from a collection.
Creates a seq of option tags from a collection.
(submit-button3149 text)
Creates a submit button.
Creates a submit button.
(tel-field3110 name__3025__auto__)
(tel-field3110 name__3025__auto__ value__3026__auto__)
Creates a tel input field.
Creates a tel input field.
(text-area3145 name)
(text-area3145 name value)
Creates a text area element.
Creates a text area element.
(text-field3113 name__3025__auto__)
(text-field3113 name__3025__auto__ value__3026__auto__)
Creates a text input field.
Creates a text input field.
(time-field3116 name__3025__auto__)
(time-field3116 name__3025__auto__ value__3026__auto__)
Creates a time input field.
Creates a time input field.
(unordered-list3055 coll)
Wrap a collection in an unordered list.
Wrap a collection in an unordered list.
(url-field3119 name__3025__auto__)
(url-field3119 name__3025__auto__ value__3026__auto__)
Creates a url input field.
Creates a url input field.
(week-field3122 name__3025__auto__)
(week-field3122 name__3025__auto__ value__3026__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