Thursday, March 26, 2009

Data Sharing between two MCrux Windows.



As shown in the above snapshot, we have a small example which demonstrates how the data sharing will work in MCrux. we have a global object "window.mcrux" which has been shared between all the MCruxWindows created. So if we want to share any data between MCrux windows we can share it using this global object.

The above is a small example where we have a text edit box in one window. whenever we type anything in that window the letter will be magnified in the other window.

As we know in any desktop application we have to share data between multiple windows. This makes it easier for the JavaScript to share things easily between two MCruxWindows.

1 comment:

Prajakta Thanekar said...

Sonia :: Excellent work!! Keep it up!!