Skip to content

Reader events

joseph edited this page Sep 4, 2011 · 5 revisions

The Monocle Reader fires custom events when interesting things happen. Here's a list of event names. Events marked with (c) are cancellable — call preventDefault() on them if you need to.

  • monocle:initializing (NB: too early to call addControl)
  • monocle:loading
  • monocle:loaded
  • monocle:resizing (c)
  • monocle:resize
  • monocle:componentloading
  • monocle:componentloaded
  • monocle:componentchanging
  • monocle:componentchange
  • monocle:pagechange
  • monocle:stylesheetchanging
  • monocle:stylesheetchange
  • monocle:turn
Clone this wiki locally