hongluan-ui
Version:
Hongluan Component Library for Vue 3
41 lines (40 loc) • 1.54 kB
TypeScript
import type { CSSProperties, StyleValue } from 'vue';
import type { UsePopperReturn } from 'hongluan-ui/es/hooks';
import type { UsePopperContentReturn } from './use-content';
import type { PopperContentProps } from '../content';
export declare const usePopperContentDOM: (props: PopperContentProps, { attributes, styles, role, }: Pick<UsePopperReturn, 'attributes' | 'styles'> & Pick<UsePopperContentReturn, 'role'>) => {
ariaModal: import("vue").ComputedRef<string>;
arrowStyle: import("vue").ComputedRef<CSSProperties>;
contentAttrs: import("vue").ComputedRef<{
[x: string]: string | boolean;
}>;
contentClass: import("vue").ComputedRef<(string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | (string | {
[x: string]: boolean;
} | any)[])[])[])[])[])[])[])[])[])[])[])[]>;
contentStyle: import("vue").ComputedRef<StyleValue[]>;
contentZIndex: import("vue").Ref<number>;
updateZIndex: () => void;
};
export declare type UsePopperContentDOMReturn = ReturnType<typeof usePopperContentDOM>;