The <salla-list-tile>
web component is used to display listing items in a tile form, which is one of the popular ways used in E-commerce. List tile component allows this style of display to be applied while supporting various properties and slots to customize the component.Example#
Usage#
Properties#
Property | Attribute | Description | Type | Default |
---|
Href | href | Designates the component as anchor and applies the href attribute. | string | undefined |
Target | target | Designates the target attribute. This should only be applied when using the href prop. | "_blank" | "_parent" | "_self" | "_top" | "framename" | "_self" |
Slots#
Theslots
makes it customizable to modify certain labels, such as action
.Slot | Description |
---|
action | An element to display after the title. |
icon | An icon to display before the title. |
subtitle | Additional content displayed below the title. |
title | The primary content of the list tile. |

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20