index.js 529 B

123456789101112131415161718192021222324
  1. "use strict";
  2. var _component = require("../common/component");
  3. var _transition = require("../mixins/transition");
  4. (0, _component.VantComponent)({
  5. classes: ["enter-class", "enter-active-class", "enter-to-class", "leave-class", "leave-active-class", "leave-to-class"],
  6. props: {
  7. inited: {
  8. type: Boolean
  9. },
  10. display: {
  11. type: Boolean
  12. }
  13. },
  14. mixins: [(0, _transition.transition)(true)],
  15. methods: {
  16. dealTap: function dealTap() {
  17. this.$emit("tap");
  18. this.$emit("click");
  19. }
  20. }
  21. });