onUnits

fires when units are formed

void onUnits();
Details

Units can be accessed within a handler function in the following way:

webix.ui({
  view: "unitlist",
  on: {
    onUnits: function() {
      console.log(this.units); 
    }
  }
});

Note that you can get the units only before they are rendered.

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.