openrat-cms

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

components.min.js (1182B)


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