UNPKG

element-plus

Version:

A Component Library for Vue 3

20 lines (17 loc) 542 B
import '../../../utils/index.mjs'; import '../../../constants/index.mjs'; import { buildProps } from '../../../utils/vue/props/runtime.mjs'; import { isBoolean } from '@vueuse/core'; import { CHANGE_EVENT } from '../../../constants/event.mjs'; const checkTagProps = buildProps({ checked: { type: Boolean, default: false } }); const checkTagEmits = { "update:checked": (value) => isBoolean(value), [CHANGE_EVENT]: (value) => isBoolean(value) }; export { checkTagEmits, checkTagProps }; //# sourceMappingURL=check-tag.mjs.map