-
Notifications
You must be signed in to change notification settings - Fork 33
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
feat: use the "Update Style" API in the "Elements Identification" demo #2630
feat: use the "Update Style" API in the "Elements Identification" demo #2630
Conversation
…emo, to style without parameters: updateStyle
♻️ PR Preview c8f8f23 has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
♻️ PR Preview c8f8f23 has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job
✔️ Tested with the surge preview environment: https://process-analytics-bpmn-visualization-js-demo_preview-pr-2630.surge.sh/dev/public/elements-identification.html
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Export missing type for the API documentation :
StyleWithOpacity
Add a radio button to select the mode to apply the style: CSS or API
Update the style according the selected BPMN kind and the style method (CSS or API).
When switching from CSS to API, the CSS class applied to the selected BPMN kind are cleared.
Introduce new function in the
main
JS file forElements Identification
demo, to style without parameters:updateStyle
Closes #2558