The <salla-placeholder>
web component is used to reserve space for content that soon will appear in a layout soon. It may include a paragraph, a header, and an image, depending on the content type. It emphasizes that the content is to be loaded and can be customized using the properties' parameters available.Example#
Usage#
Properties#
Property | Attribute | Description | Type | Default |
---|
Alignment | alignment | Defines the alignment of contents. | "center" | "left" | "right" | left |
Icon | icon | Customizes the icon to display in SVG format. | string | Inbox |
Icon Size | icon-size | Adjusts the size of the icon. | "lg" | "md" | "sm" | "xl" | "xs" | "md" |
Slots#
Theslots
makes it customizable to modify certain labels, such as description
.Slot | Description |
---|
description | Additional content displayed below the title. |
title | The primary content of the placeholder. |

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

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