The emitter
object on window.FW
is provided by nanobus to act as a top-level listener for triggering events at any level of the application. This includes things like handling navigation events and re-rendering the current view, which are provided by nanochoo by default, and other things that will be explained on this page that control how Feather Wiki behaves. The actual names of the events are stored in FW.state.events
, but the actual methods that are performed are defined within initEmitter.js.
FW.emitter
has several internal methods that help with development.
Events #
The first thing to be aware of is the default collection of events handled by emitter
provided by Choo
, which will not be covered in this documentation:
https://github.com/choojs/choo/blob/master/README.md#events (minus the events removed by nanochoo
This page is a stub. It is expected to be completed