deltaMode property

Gets a value that indicates the unit of measurement for delta values.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.4Internet Explorer 9

 

Syntax

JavaScript

p = object.deltaMode

 

Property values

Type: Integer

DOM_DELTA_PIXEL (0x00)

Default. The delta is measured in pixels.

DOM_DELTA_LINE (0x01)

The delta is measured in lines of text.

DOM_DELTA_PAGE (0x02)

The delta is measured in pages of text.

Standards information

See also

WheelEvent

 

 

Show:
© 2014 Microsoft