Comments (2)
An alternative is the following patch that only selects the first <g> element,
but also provides a function to configure the root element used.
Original comment by [email protected]
on 22 Jun 2010 at 12:03
- Added labels: ****
- Removed labels: ****
Attachments:
- [Configurable root element.patch](https://storage.googleapis.com/google-code-attachments/svgpan/issue-1/comment-1/Configurable root element.patch)
from svgpan.
Code integrated into 1.2.1
Original comment by [email protected]
on 3 Jul 2011 at 10:43
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from svgpan.
Related Issues (20)
- Does not find first g-element, only works with id="viewport" attribute
- Mouse cursor loses objects while dragging in Zoom HOT 1
- Type error: matrix is null in Firefox 19. Chromium works without problems. HOT 1
- viewBox is not supported
- panning does not work HOT 1
- Block dezoom at 100%
- settAttributeNS of undefined or null reference
- panning on mobile browser sometimes locks into strictly vertical or horizontal panning
- Antegrate with Angular
- Problems with setCTM when the viewBox transformation is large
- svg inner xlinks fail
- Disable events after dragging
- No wheelmouse under MsIE 11
- Collaborate? HOT 4
- Add tests
- Support specifying a different root element via an attribute on the script
- svgs with viewbox already set won't work well
- preventDefault warning
- demo? HOT 1
- Thank you HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgpan.