Title

Forms Developer Guides Scripting Interface Modal

TITLE(content)

var modal = Modal.new();
modal.title("Example!");

modal.title() == "Example!";

Modals within the script sandbox cannot contain HTML.

Returns the modal's current title text. If the content argument is given, the title will be set to the content.