index.js 470 B

1234567891011121314151617181920212223
  1. import { VantComponent } from '../common/component';
  2. VantComponent({
  3. props: {
  4. show: Boolean,
  5. mask: Boolean,
  6. customStyle: String,
  7. duration: {
  8. type: [Number, Object],
  9. value: 300
  10. },
  11. zIndex: {
  12. type: Number,
  13. value: 1
  14. }
  15. },
  16. methods: {
  17. onClick() {
  18. this.$emit('click');
  19. },
  20. // for prevent touchmove
  21. noop() { }
  22. }
  23. });