I am working on an app that uses jsBox as basis. We do have different types of modules and it would be very helpful if the left hand side could:
a) Allow custom CSS - perhaps composed from a new property on the module passed into addModuleToList()
b) Sort/group modules by type
EDIT: For the custom class I ended up doing something like this in addModuleToList():
var div = WireIt.cn('div', {className: "WiringEditor-module WiringEditor-module-"+module.container.xtype.replace(/WireIt./, '')});
I am working on an app that uses jsBox as basis. We do have different types of modules and it would be very helpful if the left hand side could: a) Allow custom CSS - perhaps composed from a new property on the module passed into addModuleToList() b) Sort/group modules by type
EDIT: For the custom class I ended up doing something like this in addModuleToList(): var div = WireIt.cn('div', {className: "WiringEditor-module WiringEditor-module-"+module.container.xtype.replace(/WireIt./, '')});
cheers, mano