⚠ This website is the beta version of the PCIbex documentation and is still under development. ⚠
Link Search Menu Expand Document

standard.hidden

Audio Button Canvas Controller DropDown Html Image MediaRecorder Scale Text TextInput TextInput Tooltip Video Youtube

syntax

getX(“ELEMENT_NAME”).hidden()

What does getX() mean?

description

Hides an element. If the element is printed, it occupies space on the screen but its content is not visible.

  • standard.after : Takes an element as an argument, and adds that element's content to the right of the element that the command is called on.

example


@newText("hidden-text", "Surprise!")
$    .hidden()
@    .print()
*,
@newButton("reveal", "Click to reveal a surprise")
@    .print()
@    .wait()
*,
@getText("hidden-text")
@    .visible()

↳ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.