Blame view

examples/routers/color-picker.vue 360 Bytes
c6faec44   梁灏   init ColorPicker
1
  <template>
b6bda1dc   梁灏   update ColorPicker
2
      <div style="margin: 100px;">
0fdbb26b   梁灏   ColorPicker add e...
3
4
5
          {{ color1 }}
          <ColorPicker v-model="color1" />
          <ColorPicker v-model="color2" :editable="false"/>
b6bda1dc   梁灏   update ColorPicker
6
      </div>
c6faec44   梁灏   init ColorPicker
7
  </template>
c6faec44   梁灏   init ColorPicker
8
  <script>
0fdbb26b   梁灏   ColorPicker add e...
9
10
11
12
13
14
15
16
      export default {
          data () {
              return {
                  color1: '#19be6b',
                  color2: ''
              };
          }
      };
263c991e   Sergio Crisostomo   Add open change e...
17
  </script>