CrossClj

2.5.9 docs

SourceDocs



RECENT
    VARS
    ->Element
    ->ReactEmpty
    ->ReactText
    ->Text
    a
    abbr
    address
    append!
    area
    article
    aside
    audio
    b
    base
    bdi
    bdo
    big
    blockquote
    body
    br
    button
    camel->colon-between
    camel->kebab-case
    camel->other-case
    canvas
    caption
    circle
    cite
    clipPath
    code
    coerce-attr-key
    col
    colgroup
    colon-between-attrs
    component?
    container-tag?
    create-element
    data
    datalist
    dd
    defs
    del
    details
    dfn
    dialog
    div
    dl
    dt
    element
    element?
    ellipse
    em
    embed
    escape-html
    fieldset
    figcaption
    figure
    footer
    form
    g
    gen-all-tags
    gen-tag-fn
    h1
    h2
    h3
    h4
    h5
    h6
    head
    header
    hr
    html
    i
    iframe
    img
    input
    ins
    kbd
    kebab-case-attrs
    key-escape-lookup
    keygen
    label
    legend
    li
    line
    linearGradient
    link
    lower-case-attrs
    main
    map
    map->Element
    map->ReactEmpty
    map->ReactText
    map->Text
    mark
    mask
    menu
    menuitem
    meta
    meter
    nav
    no-suffix
    node
    normalize-styles!
    noscript
    object
    ol
    optgroup
    option
    output
    p
    param
    path
    pattern
    picture
    polygon
    polyline
    pre
    progress
    q
    radialGradient
    react-empty-node
    react-text-node
    rect
    render-attr-map!
    render-attribute!
    render-component
    render-element!
    render-styles!
    render-to-str
    render-to-str*
    render-unescaped-html!
    render-xml-attribute!
    rp
    rt
    ruby
    s
    samp
    script
    section
    select
    small
    source
    span
    stop
    strong
    style
    sub
    summary
    sup
    svg
    table
    tbody
    td
    text
    text-node
    textarea
    tfoot
    th
    thead
    time
    title
    tr
    track
    tspan
    u
    ul
    use
    var
    video
    void-tags
    wbr

    « Index of all namespaces of this project

    Support for rendering DOM from CLJ. Must be separate to enable same-named macros in CLJS for performance.
    
    Usage: Create your UI in CLJC files, and require with conditional reader tags:
    
    (ns app.ui
      (:require
        #?(:clj [fulcro.client.dom-server :as dom] :cljs [fulcro.client.dom :as dom])))
    (->Element tag attrs react-key children)
    Positional factory function for class fulcro.client.dom_server.Element.
    
    (->ReactEmpty)
    Positional factory function for class fulcro.client.dom_server.ReactEmpty.
    
    (->ReactText text)
    Positional factory function for class fulcro.client.dom_server.ReactText.
    
    (->Text s)
    Positional factory function for class fulcro.client.dom_server.Text.
    
    (a & args)
    (abbr & args)
    (address & args)
    (append! sb s0)(append! sb s0 s1)(append! sb s0 s1 s2)(append! sb s0 s1 s2 s3)(append! sb s0 s1 s2 s3 s4)(append! sb s0 s1 s2 s3 s4 & rest)
    (area & args)
    (article & args)
    (aside & args)
    (audio & args)
    (b & args)
    (base & args)
    (bdi & args)
    (bdo & args)
    (big & args)
    (blockquote & args)
    (body & args)
    (br & args)
    (button & args)
    (camel->other-case sep)
    (canvas & args)
    (caption & args)
    (circle & args)
    (cite & args)
    (clipPath & args)
    (code & args)
    (coerce-attr-key k)
    (col & args)
    (colgroup & args)
    (component? x)
    Returns true if the given arg is a server-side react component.
    
    (container-tag? tag content)
    Returns true if the tag has content or is not a void tag. In non-HTML modes,
    all contentless tags are assumed to be void tags.
    (create-element tag)(create-element tag opts & children)
    Create a DOM element for which there exists no corresponding function.
    Useful to create DOM elements not included in React.DOM. Equivalent
    to calling js/React.createElement
    (data & args)
    (datalist & args)
    (dd & args)
    (defs & args)
    (del & args)
    (details & args)
    (dfn & args)
    (dialog & args)
    (div & args)
    (dl & args)
    (dt & args)
    (element {:keys [tag attrs react-key children], :as elem})
    Creates a dom node.
    
    (element? x)
    Returns true if the given arg is a server-side react element.
    
    (ellipse & args)
    (em & args)
    (embed & args)
    (fieldset & args)
    (figcaption & args)
    (figure & args)
    (footer & args)
    (form & args)
    (g & args)
    macro
    (gen-all-tags)
    (gen-tag-fn tag)
    (h1 & args)
    (h2 & args)
    (h3 & args)
    (h4 & args)
    (h5 & args)
    (h6 & args)
    (head & args)
    (header & args)
    (hr & args)
    (html & args)
    (i & args)
    (iframe & args)
    (img & args)
    (input & args)
    (ins & args)
    (kbd & args)
    (keygen & args)
    (label & args)
    (legend & args)
    (li & args)
    (line & args)
    (linearGradient & args)
    (link & args)
    (main & args)
    (map & args)
    (map->Element m__7585__auto__)
    Factory function for class fulcro.client.dom_server.Element, taking a map of keywords to field values.
    
    (map->ReactEmpty m__7585__auto__)
    Factory function for class fulcro.client.dom_server.ReactEmpty, taking a map of keywords to field values.
    
    (map->ReactText m__7585__auto__)
    Factory function for class fulcro.client.dom_server.ReactText, taking a map of keywords to field values.
    
    (map->Text m__7585__auto__)
    Factory function for class fulcro.client.dom_server.Text, taking a map of keywords to field values.
    
    (mark & args)
    (mask & args)
    (menu & args)
    (menuitem & args)
    (meta & args)
    (meter & args)
    (nav & args)
    (node component)(node component name)
    Returns the dom node associated with a component's React ref.
    
    (normalize-styles! sb styles)
    (noscript & args)
    (object & args)
    (ol & args)
    (optgroup & args)
    (option & args)
    (output & args)
    (p & args)
    (param & args)
    (path & args)
    (pattern & args)
    (picture & args)
    (polygon & args)
    (polyline & args)
    (pre & args)
    (progress & args)
    (q & args)
    (radialGradient & args)
    Private
    (react-empty-node)
    (react-text-node s)
    HTML text node
    
    (rect & args)
    (render-attr-map! sb tag attrs)
    (render-attribute! sb [key value])
    Private
    (render-component c)
    (render-element! {:keys [tag attrs children]} react-id sb)
    Render a tag vector as a HTML element string.
    
    (render-styles! sb styles)
    (render-to-str x)
    Private
    (render-to-str* x)
    (render-unescaped-html! sb m)
    (render-xml-attribute! sb name value)
    (rp & args)
    (rt & args)
    (ruby & args)
    (s & args)
    (samp & args)
    (script & args)
    (section & args)
    (select & args)
    (small & args)
    (source & args)
    (span & args)
    (stop & args)
    (strong & args)
    (style & args)
    (sub & args)
    (summary & args)
    (sup & args)
    (svg & args)
    (table & args)
    (tbody & args)
    (td & args)
    (text & args)
    (text-node s)
    HTML text node
    
    (textarea & args)
    (tfoot & args)
    (th & args)
    (thead & args)
    (time & args)
    (title & args)
    (tr & args)
    (track & args)
    (tspan & args)
    (u & args)
    (ul & args)
    (use & args)
    (var & args)
    (video & args)
    Private
    A list of elements that must be rendered without a closing tag.
    
    (wbr & args)