Libellé

Pour afficher n’importe quel texte ou chaîne, nous utilisons le composant, son libellé.
Le composant de libellé de l’interface utilisateur JSON représente un code HTML. <label/>.

Vous trouverez ci-dessous un exemple d’ajout d’une étiquette statique.

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

Sous JSON, une chaîne dynamique s’affiche :

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

Le libellé rendu ressemblera à ceci :

label

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