Why isn't my attribute xyz
showing up on ? (where is xyz
is something like autoFocus
)
You might be spelling it incorrectly.
React supports camelCased HTML attributes, but the equivalent in Reagent is dashed and lower cased.
For example, with Reagent, you use auto-focus
, instead of autoFocus
. And
you use col-span
instead of React's colSpan
.
Up: FAQ Index
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
⌘+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
⌘+/ | Jump to the search field |