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