I want to use one set of controls to zoom in/zoom out and create a new element on my svg-pan-zoom/jointjs application.
I have used custom controls to create "Zoom in", "Zoom out", "Reset", "New element" buttons on the web page that the svg is rendered in, but I'd prefer to add "New element" to the on-screen svg-pan-zoom controls on the svg.
I want to use one set of controls to zoom in/zoom out and create a new element on my svg-pan-zoom/jointjs application.
I have used custom controls to create "Zoom in", "Zoom out", "Reset", "New element" buttons on the web page that the svg is rendered in, but I'd prefer to add "New element" to the on-screen svg-pan-zoom controls on the svg.
Is this possible?
Thanks,
David