February 2014
Intermediate to advanced
466 pages
16h
English
Channel messaging is similar to cross-document messaging (see chapter 4) except instead of one message channel per window, it allows multiple channels to be created. This is useful if you want to build the page out of a number of loosely coupled, event-driven, independent components. Rather than adapt them all to share a single cross-document messaging interface and ensure they don’t clash with each other’s internal API for message formats, each component can have its own set of private channels.
![]() |
![]() |