mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
24 lines
460 B
JavaScript
24 lines
460 B
JavaScript
'use strict';
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
var component_1 = require('../common/component');
|
|
component_1.VantComponent({
|
|
props: {
|
|
size: String,
|
|
mark: Boolean,
|
|
color: String,
|
|
plain: Boolean,
|
|
round: Boolean,
|
|
textColor: String,
|
|
type: {
|
|
type: String,
|
|
value: 'default',
|
|
},
|
|
closeable: Boolean,
|
|
},
|
|
methods: {
|
|
onClose: function () {
|
|
this.$emit('close');
|
|
},
|
|
},
|
|
});
|