Package zebkit.data

Collection of various data models. The models are widely used by zebkit UI components as part of model-view-controller approach, but the package doesn't depend on zebkit UI and can be used independently.

 var model = new zebkit.data.TreeModel();
 model.on("itemInserted", function(model, item) {
     // handle item inserted tree model event
     ...
 });

 model.add(model.root, new zebkit.data.Item("Child 1"));
 model.add(model.root, new zebkit.data.Item("Child 2"));