We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b856b commit 6c4237fCopy full SHA for 6c4237f
src/index.js
@@ -9,6 +9,7 @@ export default function install (Vue, options) {
9
10
const defaultOptions = {
11
clearConsoleOnUpdate: false,
12
+ delay: 0,
13
config: {
14
checks: [{
15
id: 'color-contrast',
@@ -65,5 +66,7 @@ export default function install (Vue, options) {
65
66
}
67
})
68
- return Vue.nextTick().then(() => checkAndReport(options, document))
69
+ setTimeout(() => {
70
+ return Vue.nextTick().then(() => checkAndReport(options, document))
71
+ }, options.delay)
72
0 commit comments