Class TextParagraph

TextParagraph

A widget that displays text and supports basic HTML formatting.

var textParagraph = CardService.newTextParagraph()
    .setText("This is a text paragraph widget. Multiple lines are allowed if needed.");

Methods

MethodReturn typeBrief description
setText(text)TextParagraphSets the text of the paragraph.

Detailed documentation

setText(text)

Sets the text of the paragraph. Required.

Parameters

NameTypeDescription
textStringthe text to display.

Return

TextParagraph — this object, for chaining.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.