설명서AEM GuidesAEM Guides 설명서

레이블

Last update: Sun Jul 14 2024 00:00:00 GMT+0000 (Coordinated Universal Time)

작성 대상:

  • 사용자
  • 관리자

텍스트나 문자열을 표시하기 위해 구성 요소인 레이블을 사용합니다.
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