tdesign-mobile-vue
Version:
tdesign-mobile-vue
15 lines (14 loc) • 604 B
TypeScript
import { TNode } from '../common';
export interface TdPopoverProps {
closeOnClickOutside?: boolean;
content?: string | TNode;
default?: string | TNode;
placement?: 'top' | 'left' | 'right' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
showArrow?: boolean;
theme?: 'dark' | 'light' | 'brand' | 'success' | 'warning' | 'error';
triggerElement?: string | TNode;
visible?: boolean;
defaultVisible?: boolean;
modelValue?: boolean;
onVisibleChange?: (visible: boolean) => void;
}