UNPKG

element-plus

Version:

A Component Library for Vue 3

47 lines (44 loc) 926 B
import '../../../utils/index.mjs'; import { buildProps, definePropType } from '../../../utils/vue/props.mjs'; const tooltipV2Strategies = ["absolute", "fixed"]; const tooltipV2Placements = [ "top-start", "top-end", "top", "bottom-start", "bottom-end", "bottom", "left-start", "left-end", "left", "right-start", "right-end", "right" ]; const tooltipV2ContentProps = buildProps({ ariaLabel: String, arrowPadding: { type: definePropType([Number, Object]), default: 5 }, placement: { type: definePropType(String), values: tooltipV2Placements, default: "bottom" }, reference: { type: definePropType(Object), default: null }, strategy: { type: definePropType(String), values: tooltipV2Strategies, default: "fixed" }, showArrow: { type: Boolean, default: true } }); export { tooltipV2ContentProps }; //# sourceMappingURL=content.mjs.map