Attach/detach property panel from modeler instance


is it possible to attach/detach a property panel to/from an existing modeler instance? Currently I see only examples that inject the property panel on instance creation.

Best regards,

Yes, you can.

var propertiesPanel = bpmnJS.get('propertiesPanel');

// detach the panel

// attach it to some other element

Copied from github project page:

Just change the bpmnJS variable to another modeler instance when you would like to switch.

@romero83 Great! Works like a charm. The next time I should double check the documentation.:wink: