* You can add functionality to a widget by subscribing it to an
event's queue using `this.team.queue("EVENT").subscribe`. The
argument is a function which is called whenever the event is
- published. The arguments to the event-callback function are
- different for different events.
+ published.
* As with so much JavaScript programming, the value of the special
variable `this` is lost inside the `subscribe` callback function,
Events
------
-FIXME: list of events that can be usefully subscribed to.
+The following events are generated by the widget-set code:
+
+resize-wide
+resize-narrow
+authenticated(authName, realm)
+ready
+log(m_teamName, timestamp, s)
+targets(data)
+stat(data)
+firstrecords(hitcount)
+complete(hitcount)
+facets(data)
+pager(data)
+records(data)
+record(data)
+navi -- consult team.filters.
+
- - -