UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

25 lines (24 loc) 715 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; export type EllipsisPosition = 'start' | 'middle' | 'end'; export interface EllipsisProps { rootStyle?: StyleValue; rootClass?: string; content?: string; rows?: number; position?: EllipsisPosition; dots?: string; expandText?: string; collapseText?: string; expanded?: boolean; } export declare const defaultEllipsisProps: () => DefaultProps<EllipsisProps>; export interface EllipsisSlots { } export interface EllipsisEmits { (e: 'update:expanded', expanded: boolean): void; (e: 'change', expanded: boolean): void; } export interface EllipsisExpose { update: () => Promise<void>; }