储能智慧云小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.en-US.md 1.2KB

:: BASE_DOC ::

API

Image Props

name | type | default | description | required -- | -- | -- | -- | -- t-id | String | - | 1.2.10. image tag id | N 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 | options:scaleToFill/aspectFit/aspectFill/widthFix/heightFix/top/bottom/center/left/right/top left/top right/bottom left/bottom right | N shape | String | square | options:circle/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 | -