direction
Collapse the table of content
Expand the table of content

direction property

Indicates the direction of traversal within a cursor.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
dir = object.direction

 

Property values

Type: DOMString

The direction of record traversal.

ValueCondition
"next"

The cursor contains duplicate values and is traversing key values in ascending order.

"nextunique"

The cursor contains only unique values and is traversing key values in ascending order.

"prev"

The cursor contains duplicate values and is traversing key values in descending order.

"prevunique"

The cursor contains only unique values and is traversing key values in descending order.

 

Standards information

See also

IDBCursor

 

 

Show:
© 2016 Microsoft