For more information about available methods, refer to the roDeviceInformation 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:
...