|
5 | 5 | <icon /> |
6 | 6 | <properties> |
7 | 7 | <propertyGroup caption="General"> |
8 | | - <propertyGroup caption="Tag"> |
| 8 | + <propertyGroup caption="HTML Element"> |
9 | 9 | <property key="tagName" type="enumeration" defaultValue="div" required="true"> |
10 | 10 | <caption>Tag name</caption> |
11 | 11 | <description /> |
|
27 | 27 | <enumerationValue key="__customTag__">Use custom name</enumerationValue> |
28 | 28 | </enumerationValues> |
29 | 29 | </property> |
30 | | - |
31 | 30 | <property key="tagNameCustom" type="string" defaultValue="div" required="false"> |
32 | 31 | <caption>Custom tag</caption> |
33 | 32 | <description /> |
34 | 33 | </property> |
35 | | - <!-- **************************** TAG ATTRIBUTES ****************************** --> |
36 | | - <property key="attributes" type="object" isList="true" required="false"> |
37 | | - <caption>Attributes</caption> |
38 | | - <description /> |
39 | | - <properties> |
40 | | - <propertyGroup caption="Attributes"> |
41 | | - <property key="attributeName" type="string" required="true"> |
42 | | - <caption>Name</caption> |
43 | | - <description /> |
44 | | - </property> |
45 | | - |
46 | | - <property key="attributeValueType" type="enumeration" defaultValue="expression"> |
47 | | - <caption>Value based on</caption> |
48 | | - <description /> |
49 | | - <enumerationValues> |
50 | | - <enumerationValue key="expression">Expression</enumerationValue> |
51 | | - <enumerationValue key="template">Text template</enumerationValue> |
52 | | - </enumerationValues> |
53 | | - </property> |
54 | 34 |
|
55 | | - <property key="attributeValueTemplate" type="textTemplate" required="false"> |
56 | | - <caption>Value</caption> |
57 | | - <description /> |
58 | | - </property> |
59 | | - <property key="attributeValueExpression" type="expression" required="false"> |
60 | | - <caption>Value</caption> |
61 | | - <description /> |
62 | | - <returnType type="String" /> |
63 | | - </property> |
64 | | - <property key="attributeValueTemplateRepeat" type="textTemplate" dataSource="../tagContentRepeatDataSource" required="false"> |
65 | | - <caption>Value</caption> |
66 | | - <description /> |
67 | | - </property> |
68 | | - <property key="attributeValueExpressionRepeat" type="expression" dataSource="../tagContentRepeatDataSource" required="false"> |
69 | | - <caption>Value</caption> |
70 | | - <description /> |
71 | | - <returnType type="String" /> |
72 | | - </property> |
73 | | - </propertyGroup> |
74 | | - </properties> |
75 | | - </property> |
76 | | - <!-- **************************** END TAG ATTRIBUTES ****************************** --> |
77 | | - </propertyGroup> |
78 | | - <propertyGroup caption="Repeat"> |
79 | 35 | <property key="tagUseRepeat" type="boolean" defaultValue="false"> |
80 | 36 | <caption>Repeat element</caption> |
81 | 37 | <description>Repeat element for each item in data source.</description> |
82 | 38 | </property> |
83 | 39 |
|
84 | | - <!-- Data source for repeating content --> |
85 | 40 | <property key="tagContentRepeatDataSource" type="datasource" required="true" isList="true"> |
86 | 41 | <caption>Data source</caption> |
87 | 42 | <description /> |
88 | 43 | </property> |
89 | | - </propertyGroup> |
90 | | - <propertyGroup caption="Content"> |
| 44 | + |
| 45 | + <!-- **************************** TAG CONTENT ****************************** --> |
| 46 | + <!-- Content mode --> |
91 | 47 | <property key="tagContentMode" type="enumeration" defaultValue="container"> |
92 | 48 | <caption>Content</caption> |
93 | 49 | <description /> |
|
97 | 53 | </enumerationValues> |
98 | 54 | </property> |
99 | 55 |
|
100 | | - <!-- **************************** TAG CONTENT ****************************** --> |
101 | 56 | <!-- HTML content, non-repeating --> |
102 | 57 | <property key="tagContentHTML" type="textTemplate" multiline="true" required="false"> |
103 | 58 | <caption>HTML</caption> |
|
123 | 78 | </property> |
124 | 79 | <!-- **************************** END TAG CONTENT ****************************** --> |
125 | 80 | </propertyGroup> |
| 81 | + <propertyGroup caption="HTML Attributes"> |
| 82 | + <property key="attributes" type="object" isList="true" required="false"> |
| 83 | + <caption>Attributes</caption> |
| 84 | + <description>The HTML attributes that are added to the HTML element. For example: ‘title‘, ‘href‘. If ‘class’ or ‘style’ is added as attribute this is merged with the widget class/style property. For events (e.g. onClick) use the Events section.</description> |
| 85 | + <properties> |
| 86 | + <propertyGroup caption="Attributes"> |
| 87 | + <property key="attributeName" type="string" required="true"> |
| 88 | + <caption>Name</caption> |
| 89 | + <description /> |
| 90 | + </property> |
| 91 | + |
| 92 | + <property key="attributeValueType" type="enumeration" defaultValue="expression"> |
| 93 | + <caption>Value based on</caption> |
| 94 | + <description /> |
| 95 | + <enumerationValues> |
| 96 | + <enumerationValue key="expression">Expression</enumerationValue> |
| 97 | + <enumerationValue key="template">Text template</enumerationValue> |
| 98 | + </enumerationValues> |
| 99 | + </property> |
| 100 | + |
| 101 | + <property key="attributeValueTemplate" type="textTemplate" required="false"> |
| 102 | + <caption>Value</caption> |
| 103 | + <description /> |
| 104 | + </property> |
| 105 | + <property key="attributeValueExpression" type="expression" required="false"> |
| 106 | + <caption>Value</caption> |
| 107 | + <description /> |
| 108 | + <returnType type="String" /> |
| 109 | + </property> |
| 110 | + <property key="attributeValueTemplateRepeat" type="textTemplate" dataSource="../tagContentRepeatDataSource" required="false"> |
| 111 | + <caption>Value</caption> |
| 112 | + <description /> |
| 113 | + </property> |
| 114 | + <property key="attributeValueExpressionRepeat" type="expression" dataSource="../tagContentRepeatDataSource" required="false"> |
| 115 | + <caption>Value</caption> |
| 116 | + <description /> |
| 117 | + <returnType type="String" /> |
| 118 | + </property> |
| 119 | + </propertyGroup> |
| 120 | + </properties> |
| 121 | + </property> |
| 122 | + </propertyGroup> |
126 | 123 | </propertyGroup> |
127 | 124 | <propertyGroup caption="Events"> |
128 | 125 | <property key="events" type="object" isList="true" required="false"> |
|
0 commit comments