Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (nth-child b)
  • (nth-child a b)
Selector step, tests if the node has an+b-1 siblings on its left. See CSS :nth-child.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:775 top

(defn nth-child
 "Selector step, tests if the node has an+b-1 siblings on its left. See CSS :nth-child."
 ([b] (nth-child 0 b))
 ([a b] (zip-pred (nth? z/lefts a b))))
Vars in net.cgrand.enlive-html/nth-child: defn
Used in 0 other vars

Comments top

No comments for nth-child. Log in to add a comment.