standard.settings.boldButton elementController elementDropDown elementHtml elementMediaRecorder elementScale elementText elementTooltip element

getElement(id).settings.bold()

Makes any text in the element appear boldfaced.

Example:

newText("warnning", "NOTE: this text is a warning!")
    .settings.bold()
    .settings.italic()
    .settings.color("red")
    .print()

Prints a text in boldface, italic and red.