standard.bold

description

Makes any text in the element appear boldfaced.

syntax

getX(ELEMENT_NAME).bold()

What does getX() mean?


example(s)


@
@newText("warnning", "NOTE: this text is a warning!")
$    .bold()
@    .italic()
@    .color("red")
@    .print()
  • Prints a text in boldface, italic and red.