Add TODOs for four new widget methods.
authorMike Taylor <mike@indexdata.com>
Mon, 11 Aug 2014 13:09:34 +0000 (14:09 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 11 Aug 2014 13:09:34 +0000 (14:09 +0100)
Add note on the Builder widget's use of the `callback` property.

doc/mkws-developer.markdown

index 6066e05..2689eb6 100644 (file)
@@ -134,6 +134,21 @@ be used by the derived widget.
 * `String this.value()` --
        A function returning the value of the widget's HTML element.
 
+* TODO autosearch()
+
+* TODO hideWhenNarrow()
+
+* TODO subwidget()
+
+* TODO expandValue()
+
+In addition to these properties and methods of the bare widget object,
+some kinds of specific widget add other properties of their own. For
+example, the `Builder` widget uses a `callback` property as the
+function that it use to publish the widget definition that it
+constructs. This defaults to the builtin function `alert`, but can be
+overridden by derived widgets such as `ConsoleBuilder`.
+
 
 Team methods
 ------------