moveSelection

moves circle in the specified direction

void moveSelection(stringdirection);

Parameters

directionstringthe move direction

Example

$$("colorselect").moveSelection("right");

Details

The method can take only one value from the predefined set. The predefined values are:

  • "top" - the selection is moved to the first item of the dataview
  • "bottom" - the selection is moved to the last item of the dataview
  • "up" ("left") - the selection is moved one item left
  • "down" ("right") - the selection is moved one item right
  • "pgup" - the selection is moved to the first item of the previous page (a page is the currently visible dataview)
  • "pgdown" - the selection is moved to the first item of the next page (a page is the currently visible dataview)
See also
Наверх