index.js 537 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. classes: ['info-class'],
  6. props: {
  7. dot: Boolean,
  8. info: null,
  9. size: null,
  10. color: String,
  11. customStyle: String,
  12. classPrefix: {
  13. type: String,
  14. value: 'van-icon',
  15. },
  16. name: String,
  17. },
  18. methods: {
  19. onClick: function () {
  20. this.$emit('click');
  21. },
  22. },
  23. });