@varlet/ui
Version:
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
36 lines (35 loc) • 623 B
JavaScript
import { defineListenerProp } from "../utils/components.mjs";
const props = {
src: String,
fit: {
type: String,
default: "fill"
},
position: {
type: String,
default: "50% 50%"
},
alt: String,
title: String,
referrerpolicy: String,
width: [String, Number],
height: [String, Number],
radius: {
type: [String, Number],
default: 0
},
loading: String,
error: String,
lazy: Boolean,
ripple: Boolean,
block: {
type: Boolean,
default: true
},
onClick: defineListenerProp(),
onLoad: defineListenerProp(),
onError: defineListenerProp()
};
export {
props
};