Blame view

examples/routers/input.vue 992 Bytes
7d5431d8   梁灏   update some style
1
  <template>
d061790f   Aresn   fixed #1174
2
      <div style="width: 100px;">
41918ed8   梁灏   update Input
3
          <Input autocomplete="on" v-model="value1" size="large" placeholder="large size"></Input>
d061790f   Aresn   fixed #1174
4
5
6
7
8
9
10
11
12
13
          <br>
          <Input v-model="value2" placeholder="default size"></Input>
          <br>
          <Input v-model="value3" size="small" placeholder="small size"></Input>
          <br>
          <Input v-model="value1" size="large" placeholder="large size" icon="ios-clock-outline"></Input>
          <br>
          <Input v-model="value2" placeholder="default size" icon="ios-clock-outline"></Input>
          <br>
          <Input v-model="value3" size="small" placeholder="small size" icon="ios-clock-outline"></Input>
b6861430   Lawrence Lee   add test case for...
14
15
          <br>
          <Input v-model="obj.test" type="textarea" autosize></Input>
0f822c9b   梁灏   add Input component
16
      </div>
7d5431d8   梁灏   update some style
17
18
  </template>
  <script>
7d5431d8   梁灏   update some style
19
      export default {
7d5431d8   梁灏   update some style
20
21
          data () {
              return {
d061790f   Aresn   fixed #1174
22
23
                  value1: '',
                  value2: '',
b6861430   Lawrence Lee   add test case for...
24
25
26
27
                  value3: '',
                  obj: {
  
                  }
0f822c9b   梁灏   add Input component
28
              }
7d5431d8   梁灏   update some style
29
30
          }
      }
fc7ef072   梁灏   support Input
31
  </script>