Skip to content

Commit a79cbf4

Browse files
committed
Fix eslint in demo page
1 parent 1052deb commit a79cbf4

File tree

1 file changed

+31
-23
lines changed

1 file changed

+31
-23
lines changed

src/App.vue

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,37 @@
11
<template>
22
<div id="app">
33
<template v-if="!showPlayground">
4-
<a href="https://www.npmjs.com/package/vue-tel-input"><img src="https://img.shields.io/npm/dt/vue-tel-input.svg"></a>&nbsp;
5-
<a href="https://github.com/EducationLink/vue-tel-input"><img src="https://img.shields.io/github/stars/EducationLink/vue-tel-input.svg"></a>
6-
<h2 style="color: #999">made with &#x2764; by some <a
7-
style="color: inherit"
8-
href="https://github.com/EducationLink/vue-tel-input/graphs/contributors">awesome humans</a>.</h2>
9-
<div style="width: 500px; margin: 20px auto;">
4+
<a href="https://www.npmjs.com/package/vue-tel-input"
5+
><img src="https://img.shields.io/npm/dt/vue-tel-input.svg" /></a
6+
>&nbsp;
7+
<a href="https://github.com/EducationLink/vue-tel-input"
8+
><img src="https://img.shields.io/github/stars/EducationLink/vue-tel-input.svg"
9+
/></a>
10+
<h2 style="color: #999">
11+
made with &#x2764; by some
12+
<a
13+
style="color: inherit"
14+
href="https://github.com/EducationLink/vue-tel-input/graphs/contributors"
15+
>awesome humans</a
16+
>.
17+
</h2>
18+
<div style="width: 500px; margin: 20px auto">
1019
<vue-tel-input
1120
:preferred-countries="['us', 'gb', 'ua']"
1221
:valid-characters-only="true"
13-
@input="onInput"/>
22+
@input="onInput"
23+
/>
1424
</div>
15-
<div
16-
v-if="phone.number"
17-
style="color: #e83e8c">
25+
<div v-if="phone.number" style="color: #e83e8c">
1826
<span>
1927
Number:
20-
<strong>{{ phone.number }}</strong>,&nbsp;
28+
<strong>{{ phone.number }}</strong
29+
>,&nbsp;
2130
</span>
2231
<span>
2332
Is valid:
24-
<strong>{{ phone.valid }}</strong>,&nbsp;
33+
<strong>{{ phone.valid }}</strong
34+
>,&nbsp;
2535
</span>
2636
<span>
2737
Country:
@@ -30,27 +40,25 @@
3040
</div>
3141
</template>
3242
<!-- built files will be auto injected -->
33-
<div style="text-align: center; margin-top: 20px;">
43+
<div style="text-align: center; margin-top: 20px">
3444
View
35-
<span style="font-size: 15px;">
45+
<span style="font-size: 15px">
3646
[<a href="https://github.com/EducationLink/vue-tel-input">github</a>,
3747
<a href="https://github.com/EducationLink/vue-tel-input/releases">changelog</a>,
3848
<a href="https://www.npmjs.com/package/vue-tel-input">npm</a>,
39-
<a
40-
href=""
41-
@click.prevent="showPlayground = !showPlayground">
42-
{{ showPlayground ? 'homepage' : 'playground' }}</a>].
49+
<a href="" @click.prevent="showPlayground = !showPlayground">
50+
{{ showPlayground ? "homepage" : "playground" }}</a
51+
>].
4352
</span>
4453
</div>
45-
<div
46-
v-if="showPlayground"
47-
style="margin-top: 20px;">
54+
<div v-if="showPlayground" style="margin-top: 20px">
4855
<iframe
4956
src="https://codesandbox.io/embed/0yyyk45q7w?autoresize=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2FApp.vue"
5057
title="Vue Template"
5158
allow="gyroscope; payment; ambient-light-sensor; encrypted-media"
52-
style="width:100%; height:80vh; border:0; border-radius: 4px; overflow:hidden;"
53-
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"/>
59+
style="width: 100%; height: 80vh; border: 0; border-radius: 4px; overflow: hidden"
60+
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
61+
/>
5462
</div>
5563
</div>
5664
</template>

0 commit comments

Comments
 (0)