You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/appstore/use-content/platform-supported-content/widgets/htmlelement.md
+14-7
Original file line number
Diff line number
Diff line change
@@ -43,22 +43,29 @@ To configure this widget, follow these steps:
43
43
44
44
#### HTML Element Section
45
45
46
-
***Tag name** – sets the type of the element (such as div, span, or img). If you would like to add a custom name for the element, select **Use custom name** in the drop-down menu.
46
+
***Tag name** – Sets the type of the element (such as div, span, or img). If you would like to add a custom name for the element, select **Use custom name** in the drop-down menu.
47
47
***Repeat element**
48
-
***Yes** – if selected, repeats the element for each item in the data source assigned.
49
-
***No** (default) – if selected, the element is rendered once.
48
+
***Yes** – If selected, repeats the element for each item in the data source assigned.
49
+
***No** (default) – If selected, the element is rendered once.
50
50
***Content**
51
-
***Container for widgets** (default) – if selected, the widget acts as a container for other widgets.
52
-
***HTML** – if selected, uses custom HTML markup as defined in the HTML settings.
53
-
***HTML** (Visible if **Content** option is set to **HTML**) – can be either an expression or a text template. This defines custom HTML markup for the widget, therefore the value should be valid HTML as it will be inserted as HTML element content.
51
+
***Container for widgets** (default) – If selected, the widget acts as a container for other widgets.
52
+
***HTML** – If selected, uses custom HTML markup as defined in the HTML settings.
53
+
***HTML** (Visible if **Content** option is set to **HTML**) – Can be either an expression or a text template. This defines custom HTML markup for the widget, therefore the value should be valid HTML as it will be inserted as HTML element content.
54
54
55
55
#### HTML Attributes Section
56
56
57
57
***Attributes** – sets the attributes to be assigned into the HTML element.
58
58
59
59
### Events Tab
60
60
61
-
{{% alert color="info" %}}For more information, see [Event Actions](/refguide/on-click-event/#actions) in *Properties Common in the Page Editor*.{{% /alert %}}
61
+
Sets the events for the created HTML element.
62
+
63
+
***Event**
64
+
***Name** - Sets the event type that will be applied to the HTML element. The choices are based on standard browser events.
65
+
***Action** - Sets the [Event Actions](/refguide/on-click-event/#actions) for the selected event type.
66
+
***Advanced**
67
+
***Stop propagation** - If yes, the event will be prevented from being called further up in the DOM tree. For more information, see [Event: stopPropagation()](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation).
68
+
***Prevent default** - If yes, will cancel the default events. For more informaion, see [Event: preventDefault()](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)
0 commit comments