The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

standard.visible

description

Makes the element visible (again). This is useful if you previously hid the element with .hidden.

syntax

getX(ELEMENT_NAME).visible()

What does getX() mean?


example(s)


@newText("instruction", "Guess what fruit is in the image below")
@    .print()
@,
@newImage("fruit", "pear.png")
@    .hidden()
@    .print()
@,
@newButton("reveal", "Reveal fruit")
@    .print()
@    .wait()
@,
@getImage("fruit")
$    .visible()
  • Adds some text to the page, a blank space below it and a button below the blank space which, when clicked, reveals an image of a pear.