index.js 349 B

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