project init & fix ui
This commit is contained in:
48
miniprogram_npm/tdesign-miniprogram/image/props.js
Normal file
48
miniprogram_npm/tdesign-miniprogram/image/props.js
Normal file
@@ -0,0 +1,48 @@
|
||||
const props = {
|
||||
customStyle: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
error: {
|
||||
type: String,
|
||||
value: 'default',
|
||||
},
|
||||
externalClasses: {
|
||||
type: Array,
|
||||
},
|
||||
height: {
|
||||
type: null,
|
||||
},
|
||||
lazy: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
loading: {
|
||||
type: String,
|
||||
value: 'default',
|
||||
},
|
||||
mode: {
|
||||
type: String,
|
||||
value: 'scaleToFill',
|
||||
},
|
||||
shape: {
|
||||
type: String,
|
||||
value: 'square',
|
||||
},
|
||||
showMenuByLongpress: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
src: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
webp: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
width: {
|
||||
type: null,
|
||||
},
|
||||
};
|
||||
export default props;
|
||||
Reference in New Issue
Block a user