By now you know that I’m a fan of pub-sub / event aggregators, whether it’s .NET / Winforms or Backbone
or whatever. For the last 3 weeks working on this WinJS / WinRT app
with the Microsoft P&P group, I’ve had this thought that I want to
do the same thing in WinJS / WinRT apps. Only I couldn’t figure out how.
@Bennage and I had several
discussions on this and decided to look in to it later. Well today was
“later” apparently, and thanks to the Chris Tavares I found these
wonderful little nuggets of awesome:
WinJS.Application.queueEvent – queue an event to be sent
WinJS.Application.addEventListener – handle an event that was sent
Read full article here
WinJS.Application.queueEvent – queue an event to be sent
WinJS.Application.addEventListener – handle an event that was sent
Read full article here
No comments:
Post a Comment