Dynamic element templates in bpmn-js

Hi

Is it possible to load element templates dynamically? I’d like my custom bpmn-js based modeler to be able to query on demand (not only on startup) some external service for the templates and use them for modelling.

Thanks
James