Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For more information about available methods, refer to the roDeviceInfo entry. The JavaScript equivalent is deviceinfo.

Attributes

readonly attribute DOMString model

...

readonly attribute DOMString family

Methods

int VersionCompare(in DOMString version)

...

boolean HasFeature(in DOMString feature)

Example

The following JavaScript example posts device information on the page when the button is clicked:

...