Skip to content

Commit 346e01d

Browse files
Update Readme.md
1 parent e10b87a commit 346e01d

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

Readme.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -443,25 +443,6 @@ $('.pear').html()
443443
### Miscellaneous
444444
DOM element methods that don't fit anywhere else
445445

446-
#### .get( [index] )
447-
Retrieve the DOM elements matched by the cheerio object. If no index is specified, it will get an array of all matched elements.
448-
449-
```js
450-
$('li').get(0)
451-
//=> { raw: 'li class="apple"', ... }
452-
453-
$('li').get()
454-
//=> [ {...}, {...}, {...} ]
455-
```
456-
457-
#### .size()
458-
Return the number of elements in the cheerio object. Same as `length`.
459-
460-
```js
461-
$('li').size()
462-
//=> 3
463-
```
464-
465446
#### .toArray()
466447
Retrieve all the DOM elements contained in the jQuery set, as an array.
467448

0 commit comments

Comments
 (0)