메모 및 링크 위젯

메모 및 링크 위젯은 자유 텍스트 위젯과 비슷하지만 더 많은 서식 및 표시 옵션이 포함되어 있습니다.

구성

  1. 표시할 텍스트를 입력합니다. 마크다운이 지원됩니다.
  2. 프리셋 템플릿을 선택하거나 표시 옵션을 맞춤 설정합니다.
  3. 텍스트 크기와 위젯의 배경색을 선택합니다.
  4. 텍스트 위치를 조정하려면 Alignment 버튼을 클릭합니다. 패딩을 포함하지 않으려면 No Padding을 클릭합니다.
  5. 포인터를 포함하려면 Show Pointer를 클릭하고 드롭다운 메뉴에서 포지션을 선택합니다.
메모 및 링크 위젯 편집기의 마크다운 필드에 텍스트 추가

위젯을 만들 준비가 되면 Save를 클릭합니다.

이 위젯은 템플릿 변수를 지원합니다. {TX-PL-LABEL}lt;VARIABLE_NAME>.value 구문을 사용하여 위젯 콘텐츠를 동적으로 업데이트합니다.

메모 및 링크 위젯 편집기의 마크다운 필드에서 템플릿 변수 사용

이 예시에서 $env.value은(는) 선택한 환경에 대한 링크 값을 업데이트합니다.

API

이 위젯은 Dashboards API와 함께 사용할 수 있습니다. 자세한 내용은 대시보드 API 가이드를 참조하세요.

메모 위젯 전용 위젯 JSON 스키마 정의는 다음과 같습니다.

Expand All

항목

유형

설명

background_color

string

Background color of the note.

content [required]

string

Content of the note.

font_size

string

Size of the text.

has_padding

boolean

Whether to add padding or not.

default: true

show_tick

boolean

Whether to show a tick or not.

text_align

enum

How to align the text on the widget. Allowed enum values: center,left,right

tick_edge

enum

Define how you want to align the text on the widget. Allowed enum values: bottom,left,right,top

tick_pos

string

Where to position the tick on an edge.

type [required]

enum

Type of the note widget. Allowed enum values: note

default: note

vertical_align

enum

Vertical alignment. Allowed enum values: center,top,bottom

{
  "background_color": "string",
  "content": "",
  "font_size": "string",
  "has_padding": false,
  "show_tick": false,
  "text_align": "string",
  "tick_edge": "string",
  "tick_pos": "string",
  "type": "note",
  "vertical_align": "string"
}

Additional helpful documentation, links, and articles: