flick

Perform a flick on the screen or an element. If you want to flick on a specific element make sure you provide a selector argument. If not just pass xoffset and yoffset as command arguments.

start at a particulat screen location

Usage

1
client.flick([selector][,xoffset][,yoffset][,speed]).then(callback);

Parameters

Param Type Details
selector
optional
String element to flick on
xoffset
optional
Number x offset of flick gesture (in pixels or relative units)
yoffset
optional
Number y offset of flick gesture (in pixels or relative units)
speed
optional
Number time (in seconds) to spend performing the flick

Uses