You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
876 B
27 lines
876 B
4 years ago
|
import { tuple } from '../_util/type';
|
||
|
import { PropType } from 'vue';
|
||
6 years ago
|
import PropTypes from '../_util/vue-types';
|
||
7 years ago
|
export default () => ({
|
||
4 years ago
|
trigger: {
|
||
|
type: Array as PropType<('click' | 'hover' | 'contextMenu')[]>,
|
||
|
default: () => ['hover'],
|
||
|
},
|
||
7 years ago
|
overlay: PropTypes.any,
|
||
4 years ago
|
visible: PropTypes.looseBool,
|
||
|
disabled: PropTypes.looseBool,
|
||
7 years ago
|
align: PropTypes.object,
|
||
|
getPopupContainer: PropTypes.func,
|
||
|
prefixCls: PropTypes.string,
|
||
|
transitionName: PropTypes.string,
|
||
4 years ago
|
placement: PropTypes.oneOf(
|
||
|
tuple('topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'),
|
||
|
),
|
||
6 years ago
|
overlayClassName: PropTypes.string,
|
||
4 years ago
|
overlayStyle: PropTypes.style,
|
||
4 years ago
|
forceRender: PropTypes.looseBool,
|
||
6 years ago
|
mouseEnterDelay: PropTypes.number,
|
||
|
mouseLeaveDelay: PropTypes.number,
|
||
6 years ago
|
openClassName: PropTypes.string,
|
||
4 years ago
|
minOverlayWidthMatchTrigger: PropTypes.looseBool,
|
||
6 years ago
|
});
|