index.js 437 B

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