Liking cljdoc? Tell your friends :D
Clojure only.

dev.onionpancakes.chassis.core


alias-element-childrenclj

(alias-element-children elem)
source

alias-element?clj

(alias-element? elem)
source

append-attribute-fragment-kvclj

(append-attribute-fragment-kv sb k v)
source

append-attribute-fragment-kv-except-classclj

(append-attribute-fragment-kv-except-class sb k v)
source

append-attribute-fragment-kv-except-idclj

(append-attribute-fragment-kv-except-id sb k v)
source

append-attribute-fragment-kv-except-id-classclj

(append-attribute-fragment-kv-except-id-class sb k v)
source

append-fragmentclj

(append-fragment sb)
(append-fragment sb token)

Appends HTML token fragment to an appendable target.

By default, appendable targets is set to types implementing java.lang.Appendable but can be made to target other types by altering the append-to var.

Appends HTML token fragment to an appendable target.

By default, appendable targets is set to types implementing java.lang.Appendable
but can be made to target other types by altering the append-to var.
sourceraw docstring

append-opening-tagclj

(append-opening-tag sb tag-name)
source

append-opening-tag-with-attrsclj

(append-opening-tag-with-attrs sb tag-name attrs)
source

append-opening-tag-with-attrs-classclj

(append-opening-tag-with-attrs-class sb tag-name attrs)
source

append-opening-tag-with-attrs-idclj

(append-opening-tag-with-attrs-id sb tag-name attrs)
source

append-opening-tag-with-attrs-id-classclj

(append-opening-tag-with-attrs-id-class sb tag-name attrs)
source

append-opening-tag-with-classclj

(append-opening-tag-with-class sb tag-name head-class)
source

append-opening-tag-with-class-attrsclj

(append-opening-tag-with-class-attrs sb tag-name head-class attrs)
source

append-opening-tag-with-class-attrs-classclj

(append-opening-tag-with-class-attrs-class sb tag-name head-class attrs)
source

append-opening-tag-with-class-attrs-idclj

(append-opening-tag-with-class-attrs-id sb tag-name head-class attrs)
source

append-opening-tag-with-class-attrs-id-classclj

(append-opening-tag-with-class-attrs-id-class sb tag-name head-class attrs)
source

append-opening-tag-with-idclj

(append-opening-tag-with-id sb tag-name head-id)
source

append-opening-tag-with-id-attrsclj

(append-opening-tag-with-id-attrs sb tag-name head-id attrs)
source

append-opening-tag-with-id-attrs-classclj

(append-opening-tag-with-id-attrs-class sb tag-name head-id attrs)
source

append-opening-tag-with-id-attrs-idclj

(append-opening-tag-with-id-attrs-id sb tag-name head-id attrs)
source

append-opening-tag-with-id-attrs-id-classclj

(append-opening-tag-with-id-attrs-id-class sb tag-name head-id attrs)
source

append-opening-tag-with-id-classclj

(append-opening-tag-with-id-class sb tag-name head-id head-class)
source

append-opening-tag-with-id-class-attrsclj

(append-opening-tag-with-id-class-attrs sb tag-name head-id head-class attrs)
source

append-opening-tag-with-id-class-attrs-classclj

(append-opening-tag-with-id-class-attrs-class sb
                                              tag-name
                                              head-id
                                              head-class
                                              attrs)
source

append-opening-tag-with-id-class-attrs-idclj

(append-opening-tag-with-id-class-attrs-id sb tag-name head-id head-class attrs)
source

append-opening-tag-with-id-class-attrs-id-classclj

(append-opening-tag-with-id-class-attrs-id-class sb
                                                 tag-name
                                                 head-id
                                                 head-class
                                                 attrs)
source

append-toclj

Fascade to function used for fragment appends. By default, it is set to append-to-appendable. Alter this var to change the appendable target type.

Fascade to function used for fragment appends. By default, it is set to
append-to-appendable. Alter this var to change the appendable target type.
sourceraw docstring

append-to-appendableclj

(append-to-appendable this)
(append-to-appendable this a)
(append-to-appendable this a b)
(append-to-appendable this a b c)
(append-to-appendable this a b c d)
(append-to-appendable this a b c d e)
(append-to-appendable this a b c d e f)
(append-to-appendable this a b c d e f g)
(append-to-appendable this a b c d e f g h)
(append-to-appendable this a b c d e f g h i)

Batch append strings to Appendable.

Batch append strings to Appendable.
sourceraw docstring

apply-normalizedclj

(apply-normalized f elem)

Calls function f with 3 arguments, the normalized element's tag keyword, merged attrs map, and content vector.

Calls function f with 3 arguments, the normalized element's
tag keyword, merged attrs map, and content vector.
sourceraw docstring

apply-normalized-with-metaclj

(apply-normalized-with-meta f elem)

Calls function f with 4 arguments, the normalized element's metadata map, tag keyword, merged attrs map, and content vector.

Calls function f with 4 arguments, the normalized element's
metadata map, tag keyword, merged attrs map, and content vector.
sourceraw docstring

apply-normalized-with-meta-attrs-absentclj

(apply-normalized-with-meta-attrs-absent f elem)
source

apply-normalized-with-meta-attrs-presentclj

(apply-normalized-with-meta-attrs-present f elem)
source

attribute-key?clj

(attribute-key? k)
source

AttributeValuecljprotocol

append-attribute-fragment-toclj

(append-attribute-fragment-to this sb attr-name)

Appends attribute key and value HTML fragment.

Appends attribute key and value HTML fragment.
source

AttributeValueFragmentcljprotocol

attribute-value-fragmentclj

(attribute-value-fragment this)

Returns attribute value HTML fragment or nil if none.

Returns attribute value HTML fragment or nil if none.
source

attrs?clj

(attrs? attrs)
source

content-subvecclj

(content-subvec v start)
(content-subvec v start end)

Creates a subvector with metadata key ::content set to true.

Creates a subvector with metadata key ::content set to true.
sourceraw docstring

content-subvec*clj

(content-subvec* v start end)
source

doctype-html5clj

RawString for <!DOCTYPE html>

RawString for <!DOCTYPE html>
sourceraw docstring

element-childrenclj

(element-children elem)
source

element-children-1clj

(element-children-1 elem)
source

element-children-10-attrs-absentclj

(element-children-10-attrs-absent elem)
source

element-children-10-attrs-presentclj

(element-children-10-attrs-present elem)
source

element-children-2-attrs-absentclj

(element-children-2-attrs-absent elem)
source

element-children-2-attrs-presentclj

(element-children-2-attrs-present elem)
source

element-children-3-attrs-absentclj

(element-children-3-attrs-absent elem)
source

element-children-3-attrs-presentclj

(element-children-3-attrs-present elem)
source

element-children-4-attrs-absentclj

(element-children-4-attrs-absent elem)
source

element-children-4-attrs-presentclj

(element-children-4-attrs-present elem)
source

element-children-5-attrs-absentclj

(element-children-5-attrs-absent elem)
source

element-children-5-attrs-presentclj

(element-children-5-attrs-present elem)
source

element-children-6-attrs-absentclj

(element-children-6-attrs-absent elem)
source

element-children-6-attrs-presentclj

(element-children-6-attrs-present elem)
source

element-children-7-attrs-absentclj

(element-children-7-attrs-absent elem)
source

element-children-7-attrs-presentclj

(element-children-7-attrs-present elem)
source

element-children-8-attrs-absentclj

(element-children-8-attrs-absent elem)
source

element-children-8-attrs-presentclj

(element-children-8-attrs-present elem)
source

element-children-9-attrs-absentclj

(element-children-9-attrs-absent elem)
source

element-children-9-attrs-presentclj

(element-children-9-attrs-present elem)
source

element-children-n-attrs-absentclj

(element-children-n-attrs-absent elem)
source

element-children-n-attrs-presentclj

(element-children-n-attrs-present elem)
source

element-vector?clj

(element-vector? v)
source

escape-attribute-valueclj

(escape-attribute-value)
(escape-attribute-value x)
(escape-attribute-value x & more)

Escape as an attribute value string. Escapes &, <, >, ", and '.

Escape as an attribute value string. Escapes &, <, >, ", and '.
sourceraw docstring

escape-attribute-value*clj

(escape-attribute-value* s)

Escapes an attribute value string. Escapes &, <, >, ", and '.

Escapes an attribute value string. Escapes &, <, >, ", and '.
sourceraw docstring

escape-attribute-value-fragmentclj

Fascade to the function used for escaping attribute value fragments. By default, it is set to escape-attribute-value*. Alter this var to change the behavior of escaping attribute value fragments.

Fascade to the function used for escaping attribute value fragments.
By default, it is set to escape-attribute-value*. Alter this var to
change the behavior of escaping attribute value fragments.
sourceraw docstring

escape-textclj

(escape-text)
(escape-text x)
(escape-text x & more)

Escape as a text string. Escapes &, <, and >.

Escape as a text string. Escapes &, <, and >.
sourceraw docstring

escape-text*clj

(escape-text* s)

Escapes a text string. Escapes &, <, and >.

Escapes a text string. Escapes &, <, and >.
sourceraw docstring

escape-text-fragmentclj

Fascade to the function used for escaping text fragments. By default, it is set to escape-text*. Alter this var to change the behavior of escaping text fragments.

Fascade to the function used for escaping text fragments.
By default, it is set to escape-text*. Alter this var to
change the behavior of escaping text fragments.
sourceraw docstring

has-attrs?clj

(has-attrs? elem)
source

htmlclj

(html root)

Returns HTML string given a HTML Node tree.

Returns HTML string given a HTML Node tree.
sourceraw docstring

html-serializerclj

(html-serializer root)

Returns a reducible and seqable emitting HTML fragments.

Returns a reducible and seqable emitting HTML fragments.
sourceraw docstring

join-attribute-value-fragment-kvclj

(join-attribute-value-fragment-kv sb k v)

Key-value reduction function for joining attribute style maps.

Key-value reduction function for joining attribute style maps.
sourceraw docstring

make-head-attrsclj

(make-head-attrs head-id head-class)
(make-head-attrs head-id head-class attrs)
source

make-opening-tagclj

(make-opening-tag metadata head attrs)
source

merge-metaclj

(merge-meta obj metadata)
source

nbspclj

RawString for  

RawString for &nbsp;
sourceraw docstring

Nodecljprotocol

branch?clj

(branch? this)

Returns true if branch node.

Returns true if branch node.

childrenclj

(children this)

Returns children as Iterable.

Returns children as Iterable.
source

rawclj

(raw)
(raw value)
(raw value & more)

Wraps value as an unescaped string.

Alias for raw-string.

Wraps value as an unescaped string.

Alias for raw-string.
sourceraw docstring

raw-stringclj

(raw-string)
(raw-string value)
(raw-string value & more)

Wraps value as an unescaped string.

Wraps value as an unescaped string.
sourceraw docstring

reduce-nodeclj

(reduce-node rf init root)

Like reduce, but iterates over root Node in depth first search order. Leaf nodes are accumulated with the reduction function in order they are encountered.

Like reduce, but iterates over root Node in depth first search order.
Leaf nodes are accumulated with the reduction function in order they are encountered.
sourceraw docstring

reduce-treeclj

(reduce-tree branch? children rf init root)

Like reduce, but iterates over a tree depth first search order. Leaf nodes are accumulated with the reduction function in order they are encountered.

Like reduce, but iterates over a tree depth first search order.
Leaf nodes are accumulated with the reduction function in order they are encountered.
sourceraw docstring

resolve-aliascljmultimethod

Resolves alias given tag, attrs map, and content vector, returning the resolved Node.

Resolves alias given tag, attrs map, and content vector,
returning the resolved Node.
sourceraw docstring

resolve-alias-elementclj

(resolve-alias-element elem)
source

resolve-alias-with-metaclj

(resolve-alias-with-meta metadata tag attrs content)

Resolves alias given metadata, tag, attrs map, and content vector, returning the resolved Node.

Override this function's var to resolve alias elements with metadata.

Resolves alias given metadata, tag, attrs map, and content vector,
returning the resolved Node.

Override this function's var to resolve alias elements with metadata.
sourceraw docstring

resolve-with-meta-fnclj

(resolve-with-meta-fn f)
source

stack-max-depthclj

source

Tokencljprotocol

append-fragment-toclj

(append-fragment-to this sb)

Appends HTML fragment.

Appends HTML fragment.

fragmentclj

(fragment this)

Returns HTML fragment.

Returns HTML fragment.
source

token-serializerclj

(token-serializer root)

Returns a reducible and seqable emitting Tokens.

Returns a reducible and seqable emitting Tokens.
sourceraw docstring

tree-serializerclj

(tree-serializer branch-fn children-fn root)
source

vector-childrenclj

(vector-children this)
source

void-tag?clj

(void-tag? tag)
source

write-htmlclj

(write-html sb root)

Writes HTML string to an appendable target.

By default, appendable targets is set to types implementing java.lang.Appendable but can be made to target other types by altering the append-to var.

Writes HTML string to an appendable target.

By default, appendable targets is set to types implementing java.lang.Appendable
but can be made to target other types by altering the append-to var.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close