[Commits] r1319 - sandbox/elemoine/playground/geoext/lib/GeoExt/widgets/tree

commits at geoext.org commits at geoext.org
Mon Aug 10 06:36:17 CEST 2009


Author: elemoine
Date: 2009-08-10 06:36:17 +0200 (Mon, 10 Aug 2009)
New Revision: 1319

Modified:
   sandbox/elemoine/playground/geoext/lib/GeoExt/widgets/tree/LayerNode.js
Log:
add docs for the "action" event type


Modified: sandbox/elemoine/playground/geoext/lib/GeoExt/widgets/tree/LayerNode.js
===================================================================
--- sandbox/elemoine/playground/geoext/lib/GeoExt/widgets/tree/LayerNode.js	2009-08-10 04:29:05 UTC (rev 1318)
+++ sandbox/elemoine/playground/geoext/lib/GeoExt/widgets/tree/LayerNode.js	2009-08-10 04:36:17 UTC (rev 1319)
@@ -318,7 +318,15 @@
              *  Notifies listener when a differnt radio button was selected.
              *  Will be called with the currently selected node as argument.
              */
-            "radiochange"
+            "radiochange",
+            /** api: event[action]
+             *  Notifies listeners when an action is clicked, listeners are
+             *  called with the following arguments:
+             *  * :class:`GeoExt.tree.LayerNode` the layer node
+             *  * ``String`` the action name
+             *  * ``Ext.EventObject`` the event object
+             */
+            "action"
         );
         
         Ext.apply(this, {



More information about the Commits mailing list