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

Link Search Menu Expand Document

selector.unselect

description

Unselects any element currently selected.

syntax

getSelector(ELEMENT_NAME).unselect()

example(s)


@newImage("square", "square.png")
@,
@newImage("triangle", "triangle.png")
@    .before( getImage("square") )
@    .print()
@,
@newSelector("shapes")
@    .add( getImage("square") , getImage("triangle") )
@    .select( getImage("square") )
@    .wait()
$    .unselect( getImage("square") )

Adds two images side by side, selects the image square by default, and waits for a click on either one of them. After that it unselects image square.