city-casereport/miniprogram_npm/tdesign-miniprogram/image
2023-12-06 14:22:42 +08:00
..
image-info.json 户籍信息录入 2023-12-06 14:22:42 +08:00
image.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
image.js 户籍信息录入 2023-12-06 14:22:42 +08:00
image.json 户籍信息录入 2023-12-06 14:22:42 +08:00
image.wxml 户籍信息录入 2023-12-06 14:22:42 +08:00
image.wxss 户籍信息录入 2023-12-06 14:22:42 +08:00
index.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
index.js 户籍信息录入 2023-12-06 14:22:42 +08:00
props.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
props.js 户籍信息录入 2023-12-06 14:22:42 +08:00
README.en-US.md 户籍信息录入 2023-12-06 14:22:42 +08:00
README.md 户籍信息录入 2023-12-06 14:22:42 +08:00
type.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
type.js 户籍信息录入 2023-12-06 14:22:42 +08:00

:: BASE_DOC ::

API

Image Props

name type default description required
error String / Slot 'default' - N
external-classes Array - ['t-class', 't-class-load'] N
height String / Number - - N
lazy Boolean false - N
loading String / Slot 'default' - N
mode String scaleToFill optionsscaleToFill/aspectFit/aspectFill/widthFix/heightFix/top/bottom/center/left/right/top left/top right/bottom left/bottom right N
shape String square optionscircle/round/square N
show-menu-by-longpress Boolean false - N
src String - - N
webp Boolean false - N
width String / Number - - N

Image Events

name params description
error - -
load - -

CSS Variables

The component provides the following CSS variables, which can be used to customize styles.

Name Default Value Description
--td-image-color @font-gray-3 -
--td-image-loading-bg-color @bg-color-secondarycontainer -
--td-image-loading-color @font-gray-3 -
--td-image-round-radius @radius-default -