jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/es/Icon/index.js

20 lines
628 B
JavaScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var props_1 = require("./props");
var fmtEvent_1 = tslib_1.__importDefault(require("../_util/fmtEvent"));
Component({
props: props_1.IconDefaultProps,
methods: {
onTap: function (e) {
if (this.props.onTap) {
this.props.onTap((0, fmtEvent_1.default)(this.props, e));
}
},
catchTap: function (e) {
if (this.props.catchTap) {
this.props.catchTap((0, fmtEvent_1.default)(this.props, e));
}
},
},
});