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. |
Modified at 2024-08-18 10:48:53