Add @api stable annotations for ol.control.Attribution

This commit is contained in:
Éric Lemoine
2014-08-19 16:46:44 +02:00
parent 7c01d3a57c
commit 602deafc86
2 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ var olx;
/** /**
* @typedef {{html: string, * @typedef {{html: string,
* tileRanges: (Object.<string, Array.<ol.TileRange>>|undefined)}} * tileRanges: (Object.<string, Array.<ol.TileRange>>|undefined)}}
* @api * @api stable
*/ */
olx.AttributionOptions; olx.AttributionOptions;

View File

@@ -26,7 +26,7 @@ goog.require('ol.pointer.PointerEventHandler');
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {ol.control.Control}
* @param {olx.control.AttributionOptions=} opt_options Attribution options. * @param {olx.control.AttributionOptions=} opt_options Attribution options.
* @api * @api stable
*/ */
ol.control.Attribution = function(opt_options) { ol.control.Attribution = function(opt_options) {
@@ -362,7 +362,7 @@ ol.control.Attribution.prototype.handleToggle_ = function() {
/** /**
* @return {boolean} True if the widget is collapsible. * @return {boolean} True if the widget is collapsible.
* @api * @api stable
*/ */
ol.control.Attribution.prototype.getCollapsible = function() { ol.control.Attribution.prototype.getCollapsible = function() {
return this.collapsible_; return this.collapsible_;
@@ -371,7 +371,7 @@ ol.control.Attribution.prototype.getCollapsible = function() {
/** /**
* @param {boolean} collapsible True if the widget is collapsible. * @param {boolean} collapsible True if the widget is collapsible.
* @api * @api stable
*/ */
ol.control.Attribution.prototype.setCollapsible = function(collapsible) { ol.control.Attribution.prototype.setCollapsible = function(collapsible) {
if (this.collapsible_ === collapsible) { if (this.collapsible_ === collapsible) {
@@ -387,7 +387,7 @@ ol.control.Attribution.prototype.setCollapsible = function(collapsible) {
/** /**
* @param {boolean} collapsed True if the widget is collapsed. * @param {boolean} collapsed True if the widget is collapsed.
* @api * @api stable
*/ */
ol.control.Attribution.prototype.setCollapsed = function(collapsed) { ol.control.Attribution.prototype.setCollapsed = function(collapsed) {
if (!this.collapsible_ || this.collapsed_ === collapsed) { if (!this.collapsible_ || this.collapsed_ === collapsed) {
@@ -399,7 +399,7 @@ ol.control.Attribution.prototype.setCollapsed = function(collapsed) {
/** /**
* @return {boolean} True if the widget is collapsed. * @return {boolean} True if the widget is collapsed.
* @api * @api stable
*/ */
ol.control.Attribution.prototype.getCollapsed = function() { ol.control.Attribution.prototype.getCollapsed = function() {
return this.collapsed_; return this.collapsed_;