direction property
Indicates the direction of traversal within a cursor.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
dir = object.direction |
Property values
Type: DOMString
The direction of record traversal.
| Value | Condition |
|---|---|
|
The cursor contains duplicate values and is traversing key values in ascending order. |
|
The cursor contains only unique values and is traversing key values in ascending order. |
|
The cursor contains duplicate values and is traversing key values in descending order. |
|
The cursor contains only unique values and is traversing key values in descending order. |
Standards information
See also
Show:
