Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16

nth-last-child

net.cgrand.enlive-html

  • (nth-last-child b)
  • (nth-last-child a b)
Selector step, tests if the node has an+b-1 siblings on its right. See CSS :nth-last-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:780 top

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

Comments top

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