index.js 543 B

123456789101112131415161718192021222324
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var component_1 = require("../common/component");
  4. component_1.VantComponent({
  5. props: {
  6. show: Boolean,
  7. customStyle: String,
  8. duration: {
  9. type: null,
  10. value: 300
  11. },
  12. zIndex: {
  13. type: Number,
  14. value: 1
  15. }
  16. },
  17. methods: {
  18. onClick: function () {
  19. this.$emit('click');
  20. },
  21. // for prevent touchmove
  22. noop: function () { }
  23. }
  24. });