docs: up to 31% more feature coverage
This commit is contained in:
parent
3987fabd36
commit
c2bc44dbcf
|
@ -35,7 +35,8 @@ const div1 = $("div", body);
|
||||||
Selects all matching elements (or an empty `NodeList`):
|
Selects all matching elements (or an empty `NodeList`):
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const stylesheets = $$('link[rel="stylesheet"]').map(console.log);
|
const head = $('head');
|
||||||
|
const stylesheets = $$('link[rel="stylesheet"]', head).map(console.log);
|
||||||
```
|
```
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
Loading…
Reference in New Issue