UNPKG

tdesign-mobile-vue

Version:
51 lines (50 loc) 1.76 kB
import { PropType } from 'vue'; declare const _default: { alt: { type: StringConstructor; default: string; }; error: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; fallback: { type: StringConstructor; default: string; }; fit: { type: PropType<"contain" | "cover" | "fill" | "none" | "scale-down">; default: "contain" | "cover" | "fill" | "none" | "scale-down"; validator(val: "contain" | "cover" | "fill" | "none" | "scale-down"): boolean; }; lazy: BooleanConstructor; loading: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; position: { type: StringConstructor; default: string; }; referrerpolicy: { type: PropType<"no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url">; validator(val: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"): boolean; }; shape: { type: PropType<"circle" | "round" | "square">; default: "circle" | "round" | "square"; validator(val: "circle" | "round" | "square"): boolean; }; src: { type: StringConstructor; default: string; }; srcset: { type: PropType<import("@/components").ImageSrcset>; }; onError: PropType<(context: { e: Event; }) => void>; onLoad: PropType<(context: { e: Event; }) => void>; }; export default _default;