ant-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
23 lines (22 loc) • 408 B
JavaScript
export default {
methods: {
handelClick: function handelClick(e) {
e.stopPropagation();
//this.$emit('click', e);
}
},
render: function render() {
var h = arguments[0];
var $slots = this.$slots,
handelClick = this.handelClick;
return h(
"div",
{
on: {
"click": handelClick
}
},
[$slots["default"]]
);
}
};