A brilliant patch adding better documentation to all of our controls from an
unnamed contributor on OpenLayers trac. (Closes #1751) git-svn-id: http://svn.openlayers.org/trunk/openlayers@8942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
|
||||
/**
|
||||
* Class: OpenLayers.Control.Button
|
||||
* A very simple button controlfor use with <OpenLayers.Control.Panel>.
|
||||
* The Button control is a very simple push-button, for use with
|
||||
* <OpenLayers.Control.Panel>.
|
||||
* When clicked, the function trigger() is executed.
|
||||
*
|
||||
* Inherits from:
|
||||
@@ -39,4 +40,4 @@ OpenLayers.Control.Button = OpenLayers.Class(OpenLayers.Control, {
|
||||
trigger: function() {},
|
||||
|
||||
CLASS_NAME: "OpenLayers.Control.Button"
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user