Skip to content

Commit f7122d9

Browse files
authored
Update options.md
1 parent a71f444 commit f7122d9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Diff for: docs/guide/options.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,27 @@ Vue.use(VueAxe, {
1919
To check manually, use [$axe.run](/guide/api.html#run)
2020
:::
2121

22+
## allowConsoleClears
23+
24+
| Type | Default |
25+
| -------- | -------- |
26+
| Boolean | `true` |
27+
28+
If false, disables all console clears (overriding `clearConsoleOnUpdate`).
29+
30+
```js
31+
Vue.use(VueAxe, {
32+
allowConsoleClears: false // disable all console clears
33+
})
34+
```
35+
2236
## clearConsoleOnUpdate
2337

2438
| Type | Default |
2539
| -------- | -------- |
2640
| Boolean | `false` |
2741

28-
If true, clean the console each time the component is updated.
42+
If true, clean the console each time the component is updated. No effect if `allowConsoleClears = false`.
2943

3044
```js
3145
Vue.use(VueAxe, {

0 commit comments

Comments
 (0)