HTML

Overview

HTML (Hyper Text Markup Language) is the standard language used for creating and structuring pages. It employs tags to define and organize elements such as text, images, and links, which are then displayed in a layouts.

image-20240929-232153.png
HTML

Attributes of HTML

Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.

Basic:

image-20240925-152733.png
Basic

Attribute Name

Description

Attribute Name

Description

Component Size

  • This allows users to modify the size of a specific component according to the grid size of layout.

For example,
If the layout grid size is 3 then layout is divided into 3 sections then you can changes the components size between 1 to 3.

Body

Here user add HTML code inside the body.

Also you can add it from various sources.
Reference: Source Type

Base UI:

Attribute Name

Description

Attribute Name

Description

Padding Location

Padding Location typically refers to the configuration of spacing around elements

Padding Size

Padding Size refers to the amount of space added inside an element, between the element's content and its border or edge.

Margin Location

Margin Location refers to the spacing around the outside edge of an element

Margin Size

Margin Size refers to the amount of space around the outside edges of an element,

Style

  • It is used to apply custom styles to section, such as color, font, size, and more.

  • It allows you to define the appearance of a component by specifying CSS properties directly within the attribute.

  • You can explore more about Styles attribute here.

Classes

It is used to apply SLDS classes to section, if needed.

Editor Height

The Editor Height refers to the vertical size or dimension of an editor, typically measured in pixels, em, % , rem, cm, vh, vw, in indicating how tall the editor appears on the screen.

Editor Width

The editor width”denotes the horizontal size or dimension of an editor, representing its width across the screen, also measured in pixels, em, % , rem, cm, vh, vw, in.

UI State:

Attribute Name

Description

Attribute Name

Description

Visibility Type

It determines whether a component is visible on the layout. It offers the following visibility types:

  1. Always: The component will always be visible.

  2. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed. You can explore more about Visibility Type here.

Editor Height and width Source Type:

Label Source Type Attribute

Description

Label Source Type Attribute

Description

Model

From this source, users can select a Model field to be displayed as the editor height and width field.

Variable

Here, users can select the label name from variables such as Is Disabled, Is Read only, or Is Visible.

Merge Field Expression

Merge Field Expression displays the value selected from the chosen value source.

Message Body

Inside the message body, user also can add the values manually.

Events