How to pass the visible property of an element, in two different view model.Suppose in 1 view model i have visible is false, in another view model in click function i want to make that visible true. Can It be possible Using Knockout.
   ViewModel1 = function() {
        var self = this;
        this.dataItem = ko.observable(false);
      };
Viewmodel 2
   ViewModel2 = function() {
      var self = this;
      // Click Function
      this.showItem= function(){
          ViewModel1.dataItem = ko.observable(true);
      };
    };
 
     
    