html
Diese Komponente ermöglicht es direkt HTML Elemente in ein Formular zu integrieren.
Konfiguration
Für allgemeine Konfigurations-Optionen siehe Allgemeine Komponenten Konfiguration.
Spezifische Konfiguration
type("html")-
Typ der Komponente.
value(Binding | string)-
der Inhalt wird als HTML ausgewertet und entsprechend angezeigt.
Allgemeine Konfiguration
Neben den für alle gültigen Konfigurationen, können keine weiteren Konfigurationen gesetzt werden.
Beispiel
html.json
{
"$schema": "https://forms.virtimo.net/5.1.0/schema.json",
"metaData": {
"id": 0,
"version": 0
},
"configuration": {},
"components": [
{
"type": "container",
"label": "HTML Component Example",
"components": [
{
"type": "html",
"value": "Data binding: ${/data/input}${/data/text}"
},
{
"type": "html",
"value": "Data Binding only for input: ${/data/input}<b>Some text.</b>"
},
{
"type": "textfield",
"label": "Input for html Elements",
"value": "${/data/input}"
}
]
}
],
"state": {
"data": {
"input": "<p> A Paragraph </p>",
"text": "<b>Some text.</b>"
}
}
}
Eingebettete Vorschau
Keywords: