window formComponents flight component window loaderMixin window showE

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
window.formComponents = flight.component(
window.loaderMixin,
window.showErrorsMixin,
window.formMixin,
function() {
this.after('initialize', function() {
this.on("form-load-data", this.showLoader);
this.on("form-load-data-done", this.hideLoader);
this.on("form-load-data-error", this.showErrors)
this.on("show-errors-done", this.hideLoader)
// this.on("from-load-data-error", )
});
});