Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16

nth-last-of-type

net.cgrand.enlive-html

  • (nth-last-of-type b)
  • (nth-last-of-type a b)
Selector step, tests if the node has an+b-1 siblings of the same type (tag name) on its right. See CSS :nth-last-of-type.

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:796 top

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

Comments top

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