Make actions private in panels and views
Change-Id: I3f2c68c6e51525bbba96c24c4fddf9f9498333b1
diff --git a/dev/js/src/buttongroup.js b/dev/js/src/buttongroup.js
index 85543e4..755ad7f 100644
--- a/dev/js/src/buttongroup.js
+++ b/dev/js/src/buttongroup.js
@@ -106,6 +106,11 @@
* Add button that can toggle a state.
* The state has to be a state object.
*/
+ /*
+ * addToggle() should be removed in favor of add(toggleObj)
+ * or similar, so the API of buttongroups and lists is similar
+ * for use as action plugins.
+ */
addToggle : function (title, data, state) {
const b = this._el.addE('span');
b.setAttribute('title',title);