Skip to content

Commit

Permalink
Update options.md
Browse files Browse the repository at this point in the history
  • Loading branch information
darrinmn9 committed Jul 24, 2020
1 parent a71f444 commit f7122d9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/guide/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,27 @@ Vue.use(VueAxe, {
To check manually, use [$axe.run](/guide/api.html#run)
:::

## allowConsoleClears

| Type | Default |
| -------- | -------- |
| Boolean | `true` |

If false, disables all console clears (overriding `clearConsoleOnUpdate`).

```js
Vue.use(VueAxe, {
allowConsoleClears: false // disable all console clears
})
```

## clearConsoleOnUpdate

| Type | Default |
| -------- | -------- |
| Boolean | `false` |

If true, clean the console each time the component is updated.
If true, clean the console each time the component is updated. No effect if `allowConsoleClears = false`.

```js
Vue.use(VueAxe, {
Expand Down

0 comments on commit f7122d9

Please sign in to comment.