index.js 479 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var component_1 = require("../common/component");
  4. component_1.VantComponent({
  5. props: {
  6. info: null,
  7. name: String,
  8. size: String,
  9. color: String,
  10. customStyle: String,
  11. classPrefix: {
  12. type: String,
  13. value: 'van-icon'
  14. }
  15. },
  16. methods: {
  17. onClick: function () {
  18. this.$emit('click');
  19. }
  20. }
  21. });