Skip to content

Commit

Permalink
Add docs for selectorAll
Browse files Browse the repository at this point in the history
  • Loading branch information
eWert-Online committed Mar 23, 2023
1 parent 869abf4 commit 104c2bd
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions website/docs/Tests/ignore-regions.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,35 @@ Everything inside these coordinates is ignored.
</Tabs>

When the element with the given selector is found, everything inside the bounds of the element is ignored.

### Ignoring multiple elements by Selector

#### Options:

- `selectorAll`: A css selector matching all elements which should be ignored.

#### Example:

<Tabs>
<TabItem value="yaml" label="YAML" default>

```yaml
- "@": ["xxs", "xs"]
selectorAll: ".class-to-ignore"
```
</TabItem>
<TabItem value="json" label="JSON">
```json
[
{
"@": ["xxs", "xs"],
"selectorAll": ".class-to-ignore"
}
]
```

</TabItem>
</Tabs>

0 comments on commit 104c2bd

Please sign in to comment.