Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

LongRange

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

The LongRange dictionary is used to define a range of permitted integer values for a property, with either or both a maximum and minimum value specified. The ConstrainLongRange dictionary is based on this, augmenting it to support exact and ideal values as well.

Properties

max
A numeric value in the range of signed 32-bit integers, specifying the largest permissible value of the property it describes.
min
A numeric value in the range of signed 32-bit integers, specifying the smallest permissible value of the property it describes.

The specified min and/or and max values are required. If no match can be found that is within the given range, an error will occur.

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'LongRange' in that specification.
Editor's Draft Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Microsoft Edge Opera Safari (WebKit)
Basic support (Yes) 50 (50) No support ? No support ?
Feature Android Android Webview Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile Chrome for Android
Basic support ? (Yes) 50.0 (50) No support No support ? (Yes)

See also

ドキュメントのタグと貢献者

 このページの貢献者: Sheppy
 最終更新者: Sheppy,