event.module as Interface
Should be in loader.child
thanks harUI I managed to find that but now I have another problem if have any ideas
when i call addElement(moduleLoader) the module is displayed
but if i call addElement(module) i see nothing ?
If you are using ModuleLoader, the module is already added as a child of the
ModuleLoader. It is not advised to reparent the module.
so you're saying i need to use ModuleManager instead?
If your goal is to create instances of module classes and parent them
elsewhere, then yes, I would use ModuleManager. ModuleLoader is a
convenience for loading a single instance as a child.