-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add element template to custom bower bpmn js project ? #429
Comments
You cannot use element templates with the If you got more questions, please open a respective topic in the bpmn.io forum. |
so what changes i have to make to incorporate |
Just saw you were actually using the Modeler in the example code you provided. How do you bootstrap the modeler in your application? |
we have modeler/ properties panel as a bower component which we attach to index.html file in an angular project.Here how we initiate modeler from angular controller.
|
var bpmnJS = new BpmnJS({
container: $el,
additionalModules: [
propertiesPanelModule,
propertiesProviderModule
],
elementTemplates: elementTemplates
...
}); You need to provide the template descriptors as an We will add a more detailed example show-casing this via bpmn-io/bpmn-js-example#32. |
So this is piece of code should be added to bower-viewer-custom.js or replacing with angular controller , How we are refering |
leave a comment |
i follow this process |
we are trying to add element template into below custom bower project using code from here https://forum.bpmn.io/t/element-templates-usage-in-property-panel/809/3 we could not achieve element template with this documentation. If we can get some detail help on this issue it would be great ?
index.js
The text was updated successfully, but these errors were encountered: