Label

Um einen beliebigen Text oder eine beliebige Zeichenfolge anzuzeigen, verwenden wir die Komponente Beschriftung .
Die Beschriftungskomponente in der JUI stellt eine HTML-<label/> dar.

Nachfolgend finden Sie ein Beispiel für das Hinzufügen einer statischen Beschriftung

const staticLabelJSON =  {
    "component": "label", //tells the component name
    "label": "This is an example label", // the string to be displayed
}

Unter JSON wird eine dynamische Zeichenfolge angezeigt:

const labelJSON =  {
    "component": "label", //tells the component name
    "label": "@name", // the variable storing the text to be displayed
},

Die gerenderte Bezeichnung sieht wie folgt aus:

label

recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178