跳到主要内容
版本:v8

缩略图组件

shadow

缩略图是方形组件,通常包含图像或图标。它们可用于更轻松地显示一组较大的图像,或提供全尺寸图像的预览。

缩略图可以单独使用,也可以在任何元素内部使用。如果放置在 ion-item 内,缩略图将调整大小以适应父组件。要将缩略图定位在项目的左侧或右侧,请将 slot 分别设置为 startend

基本用法

项目缩略图

主题定制

CSS 自定义属性

属性

No properties available for this component.

事件

No events available for this component.

方法

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS 自定义属性

NameDescription
--border-radiusBorder radius of the thumbnail
--sizeSize of the thumbnail

插槽

No slots available for this component.