Length returns the number of elements in the Selection object.
()
| 88 | |
| 89 | // Length returns the number of elements in the Selection object. |
| 90 | func (s *Selection) Length() int { |
| 91 | return len(s.Nodes) |
| 92 | } |
| 93 | |
| 94 | // Html gets the HTML contents of the first element in the set of matched |
| 95 | // elements. It includes text and comment nodes. |
no outgoing calls