You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demo/src/pages/Home.vue
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@
11
11
<router-linkto="/contact">Contact</router-link>
12
12
</li>
13
13
</ul>
14
-
<p>Number: {{num}}</p>
15
-
<p>Each time the number updates it's running a debounce function to call `axe-core` again.<br />It will only run run the debounce once per 5 seconds or 1 second after the last call.</p>
16
-
<p>Use this button to see the console update as you fix or break a11y rules.</p>
14
+
<!--<p>Number: {{num}}</p>-->
15
+
<!--<p>Each time the number updates it's running a debounce function to call `axe-core` again.<br />It will only run run the debounce once per 5 seconds or 1 second after the last call.</p>-->
16
+
<!--<p>Use this button to see the console update as you fix or break a11y rules.</p>-->
17
17
<buttonv-if="!showAlt"@click="toggleLogoAltTag">Add an alt tag to the logo</button>
18
18
<buttonv-else@click="toggleLogoAltTag">Remove the alt tag from the logo</button>
19
19
</div>
@@ -30,26 +30,26 @@
30
30
data () {
31
31
return {
32
32
msg:'Welcome - Open your console',
33
-
num:0,
33
+
//num: 0,
34
34
showAlt:false
35
35
}
36
36
},
37
-
mounted()
38
-
{
39
-
this.updateNumber();
40
-
},
37
+
//mounted()
38
+
//{
39
+
// this.updateNumber();
40
+
//},
41
41
methods: {
42
-
updateNumber()
43
-
{
44
-
setTimeout(() => {
45
-
this.num+=1;
46
-
this.updateNumber();
47
-
}, 500);
48
-
},
42
+
//updateNumber()
43
+
//{
44
+
// setTimeout(() => {
45
+
// this.num += 1;
46
+
// this.updateNumber();
47
+
// }, 500);
48
+
//},
49
49
toggleLogoAltTag()
50
50
{
51
51
this.showAlt=!this.showAlt
52
-
console.log('Wait for Axe to run again in 5 seconds')
52
+
//console.log('Wait for Axe to run again in 5 seconds')
0 commit comments