index.js 493 Bytes
Newer Older
李嘉林 committed
1 2
import { VantComponent } from '../common/component';
VantComponent({
程默 committed
3 4 5 6 7 8 9 10
  props: {
    show: Boolean,
    mask: Boolean,
    message: String,
    forbidClick: Boolean,
    zIndex: {
      type: Number,
      value: 1000,
李嘉林 committed
11
    },
程默 committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
    type: {
      type: String,
      value: 'text',
    },
    loadingType: {
      type: String,
      value: 'circular',
    },
    position: {
      type: String,
      value: 'middle',
    },
  },
  methods: {
    // for prevent touchmove
    noop() {},
  },
李嘉林 committed
29
});