Add default stability level to docs of exported things.
This commit is contained in:
@@ -68,6 +68,7 @@ ol.DeviceOrientationProperty = {
|
||||
* @constructor
|
||||
* @extends {ol.Object}
|
||||
* @param {ol.DeviceOrientationOptions=} opt_options Options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation = function(opt_options) {
|
||||
|
||||
@@ -104,6 +105,7 @@ ol.DeviceOrientation.prototype.disposeInternal = function() {
|
||||
* Indicates if DeviceOrientation is supported in the user's browser.
|
||||
* @const
|
||||
* @type {boolean}
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.SUPPORTED = 'DeviceOrientationEvent' in goog.global;
|
||||
|
||||
@@ -142,6 +144,7 @@ ol.DeviceOrientation.prototype.orientationChange_ = function(browserEvent) {
|
||||
/**
|
||||
* @return {number|undefined} The alpha value of the DeviceOrientation,
|
||||
* in radians.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.prototype.getAlpha = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -156,6 +159,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The beta value of the DeviceOrientation,
|
||||
* in radians.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.prototype.getBeta = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -170,6 +174,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The gamma value of the DeviceOrientation,
|
||||
* in radians.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.prototype.getGamma = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -184,6 +189,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The heading of the device relative to
|
||||
* north, in radians, normalizing for different browser behavior.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.prototype.getHeading = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -198,6 +204,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* Are we tracking the device's orientation?
|
||||
* @return {boolean} The current tracking state, true if tracking is on.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.prototype.getTracking = function() {
|
||||
return /** @type {boolean} */ (
|
||||
@@ -229,6 +236,7 @@ ol.DeviceOrientation.prototype.handleTrackingChanged_ = function() {
|
||||
/**
|
||||
* Enable or disable tracking of DeviceOrientation events.
|
||||
* @param {boolean} tracking True to enable and false to disable tracking.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.DeviceOrientation.prototype.setTracking = function(tracking) {
|
||||
this.set(ol.DeviceOrientationProperty.TRACKING, tracking);
|
||||
|
||||
Reference in New Issue
Block a user