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

Link Search Menu Expand Document

controller.wait

description

Waits until the controller has been completed.

syntax

getController(ELEMENT_NAME).wait()

alternate(s)

  • getController(ELEMENT_NAME).wait( test )


example(s)


@newButton("Start reading")
@    .print()
@    .wait()
@    .remove()
@,
@newController("DashedSentence", {s: "The mouse is happy"} )
@    .print()
@    .log()
$    .wait()
@    .remove()
@,
@newText("Good job!")
@    .print()