index.js 404 B

123456789101112131415161718192021222324
  1. "use strict";
  2. var _component = require("../common/component");
  3. (0, _component.VantComponent)({
  4. props: {
  5. size: String,
  6. mark: Boolean,
  7. color: String,
  8. plain: Boolean,
  9. round: Boolean,
  10. textColor: String,
  11. type: {
  12. type: String,
  13. value: "default"
  14. },
  15. closeable: Boolean
  16. },
  17. methods: {
  18. onClose: function onClose() {
  19. this.$emit("close");
  20. }
  21. }
  22. });