Being able to trigger actions in other modules of one application is important. Also, good design principles dictate that tight coupling of modules is not good. In order to allow various modules to communicate with each other some sort of pub/sub or event routing framework should be implemented. The Observable class is can be used as a starting point. This new class should be tied to the presence of a DOM element. This should be similar to how AngularJS handles events with $broadcast, $emit, and $on. This could also be similar to the schemes describe in the below links: https://keestalkstech.com/2016/03/strongly-typed-event-handlers-in-typescript-part-1/ http://www.wintellect.com/devcenter/jlikness/building-a-javascript-event-aggregator-using-typescript
Hello,
We are closing this item due to lack of interest from the community.
Regards,
Viktor Tachev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
You can use an existing solution, very powerful, easy to use, free up to a certain amount: https://framework.realtime.co