index.js 416 B

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