knockout-postbox
knockout-postbox copied to clipboard
A small library that uses Knockout's native pub/sub capabilities to facilitate decoupled communication between separate view models or components.
KO 3.5
Looks like with the change to internal types with KO 3.5 there's now a conflict with KO Postbox requiring the external KO types. I'll do some more investigating but seeing...
When publishing a value with a circular reference, a 'cyclic object value' error is thrown. This is because of the serialization that happens to fill `topicCache`. Code to reproduce: ```...
I am doing a large knockout application and I had to implement this function, to dispose topics by topic name, it is very useful for handling dispose event and cleaning...
I am working on a complex price estimator. I have multiple sections each with multiple rows that can be dynamically added and removed, each with multiple components. It is completely...
Dear, I fail to find a way to subscribe to an event of a specific viewmodel instance. Let's say I have a ViewModelA of which I have two instances, each...
I have a knockout component which contains smaller components which use postbox for messaging. When I want to get rid of the component (and all the smaller ones) I call...
Hi, Is there any way to determine if there is a subscription for a topic? I used ko.postbox.hasSubscriptionsForEvent for this, but that does not seem to work anymore. I get...