openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

components.js (1173B)


      1 import editor from '../../../../../../template_engine/components/html/component_editor/editor.js';
      2 import group  from '../../../../../../template_engine/components/html/component_group/group.js';
      3 import link   from '../../../../../../template_engine/components/html/component_link/link.js';
      4 import qrcode from '../../../../../../template_engine/components/html/component_qrcode/qrcode.js';
      5 import table  from '../../../../../../template_engine/components/html/component_table/table.js';
      6 import upload from '../../../../../../template_engine/components/html/component_upload/upload.js';
      7 import form   from '../../../../../../template_engine/components/html/component_checkbox/checkbox.js';
      8 import Callback from "./callback.js";
      9 
     10 export default class Components {
     11 
     12 	registerComponents() {
     13 		console.debug('registering component scripts');
     14 
     15 		Callback.afterViewLoadedHandler.add(editor);
     16 		Callback.afterViewLoadedHandler.add(group );
     17 		Callback.afterViewLoadedHandler.add(link  );
     18 		Callback.afterViewLoadedHandler.add(qrcode);
     19 		Callback.afterViewLoadedHandler.add(table );
     20 		Callback.afterViewLoadedHandler.add(upload);
     21 		Callback.afterViewLoadedHandler.add(form  );
     22 	}
     23 }
     24