File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 6
6
"license" : " MIT" ,
7
7
"ignore" : [
8
8
" package.json" ,
9
- " example .html" ,
9
+ " index .html" ,
10
10
" src"
11
11
],
12
12
"dependencies" : {
Original file line number Diff line number Diff line change 5
5
< title > Keyboard Demo</ title >
6
6
7
7
< link rel ="stylesheet " href ="https://fonts.googleapis.com/css?family=Itim ">
8
- < link rel ="stylesheet " href =".. /dist/vue-keyboard.css ">
8
+ < link rel ="stylesheet " href ="./dist/vue-keyboard.css ">
9
9
10
10
< style >
11
11
body {
12
12
font-family : 'Itim' , sans-serif;
13
13
text-align : center;
14
14
}
15
15
16
+ header , footer {
17
+ padding : 50px 0 ;
18
+ }
19
+
16
20
h1 {
17
- margin : 50px 0 ;
18
21
font-weight : normal;
19
22
}
20
23
39
42
small {
40
43
color : # 999 ;
41
44
}
45
+
46
+ a {
47
+ color : # 05C ;
48
+ text-decoration : none;
49
+ }
50
+
51
+ a : hover {
52
+ text-decoration : underline;
53
+ }
42
54
</ style >
43
55
</ head >
44
56
< body >
45
- < main >
57
+ < header >
46
58
< h1 > Vue Keyboard</ h1 >
59
+ </ header >
47
60
61
+ < main >
48
62
< p > < pre > {{ input }}</ pre > </ p >
49
63
< p > < small > {{ 16 - input.length }} char(s) left</ small > </ p >
64
+
50
65
< keyboard v-model ="input " @append ="append " @custom ="custom " chars ="qwertyuiop{bksp:backspace}|asdfghjkl|zxcvbnm|{space:space}{custom:custom} " :maxlength ="16 "> </ keyboard >
51
66
</ main >
52
67
68
+ < footer >
69
+ < a href ="https://github.com/MartyWallace/vue-keyboard "> GitHub</ a >
70
+ </ footer >
71
+
53
72
< script src ="https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js "> </ script >
54
- < script src =".. /dist/vue-keyboard.js "> </ script >
73
+ < script src ="./dist/vue-keyboard.js "> </ script >
55
74
56
75
< script >
57
76
var app = new Vue ( {
You can’t perform that action at this time.
0 commit comments