Link Search Menu Expand Document

standard.right

description

Makes the element appear horizontally aligned to the right.

syntax

getX(ELEMENT_NAME).right()

What does getX() mean?

notes

  • Note: the right means the right of the container of the element, not necessarily the right of the screen.

example(s)


@
@newText("sentence", "This is a longer sentence")
@    .print()
@,
@newText("helloworld", "Hello world")
$    .right()
@    .print()
  • Prints Hello world onto the screen, horizontally aligned to the right.