index.js 535 B

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