Dynamically Moving Modules
I’m trying to dynamically move the modules on the screen, but I’m don’t know where to start. I’m able to identify all the modules loaded and hide and show them, but I’m not sure how to move them. I tried updating the module.config.position and the module.data.position but it did nothing. Can anyone shed some light on this for me.
@reporter500 this isn’t a supported feature
I knew it wasn’t supported, but I wanted to see if anyone was doing any custom development that might have solve this.
It needs some trick.
- Get node of region container.
- Draw your dom and insert into region container node in
getDom(). Your dom’s root node should have classname ‘module’.
- Set region container display style to
Ps. I use this trick in currently developing module. It works well.
@Sean Perfect! Thank you.