ラベル
任意のテキストや文字列を表示するには、コンポーネント、ラベルを使用します。
JUI のラベルコンポーネントは html を表します <label/>
.
静的ラベルの追加例を以下に示します
const staticLabelJSON = {
"component": "label", //tells the component name
"label": "This is an example label", // the string to be displayed
}
以下の JSON に動的文字列が表示されます。
const labelJSON = {
"component": "label", //tells the component name
"label": "@name", // the variable storing the text to be displayed
},
レンダリングされたラベルは次のようになります。
recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178