UNPKG

@vuux/video

Version:

Vue Nuxt 视频播放器

16 lines (15 loc) 549 B
import { Ref, StyleValue } from 'vue'; import { Props } from '../props'; import { State } from '../types'; /** * 视频样式 * * @param props 组件属性 * @param state 核心响应式状态 * @param videoPlaceholderRef 占位元素实例 */ export declare const useStyles: (props: Props, state: State, isClient: Ref<boolean>, videoPlaceholderRef: Ref<HTMLDivElement | null>) => { styles: import('vue').ComputedRef<StyleValue>; isVisible: Ref<boolean, boolean>; classNames: import('vue').ComputedRef<Record<string, boolean>>; };