Add ol.easing to api docs

This commit is contained in:
Peter Robins
2014-06-02 12:53:56 -04:00
committed by Frederic Junod
parent 33948a7244
commit 85c1427111
4 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
/**
* The {ol.animation} static methods are designed to be used with the {@link ol.Map#beforeRender} method. For example:
* The animation static methods are designed to be used with the
* {@link ol.Map#beforeRender} method. For example:
*
* var map = new ol.Map({ ... });
* var zoom = ol.animation.zoom({
+3
View File
@@ -4,6 +4,7 @@ goog.require('goog.fx.easing');
/**
* @function
* @param {number} t Input between 0 and 1.
* @return {number} Output between 0 and 1.
* @todo api
@@ -12,6 +13,7 @@ ol.easing.easeIn = goog.fx.easing.easeIn;
/**
* @function
* @param {number} t Input between 0 and 1.
* @return {number} Output between 0 and 1.
* @todo api
@@ -20,6 +22,7 @@ ol.easing.easeOut = goog.fx.easing.easeOut;
/**
* @function
* @param {number} t Input between 0 and 1.
* @return {number} Output between 0 and 1.
* @todo api
+4
View File
@@ -0,0 +1,4 @@
/**
* Easing functions for {@link ol.animation}.
* @namespace ol.easing
*/