How to gets ScrollBars in SVG for multiple content

后端 未结 1 508
旧巷少年郎
旧巷少年郎 2021-01-05 18:35

I want to have a container SVG which contain four SVG contents. Now these four SVG content has more content than can fit in the area allocated to them within the container S

1条回答
  •  借酒劲吻你
    2021-01-05 19:03

    At the moment the answer is that you need to provide your own panning/scrolling functions, there's no way to get scrollbars inside of the svg apart from possibly wrapping it inside another html container via foreignObject (which would likely be suboptimal).

    Here are some resources to get you started with custom svg scrollbars:

    • http://www.carto.net/papers/svg/gui/scrollbar/
    • http://www.treebuilder.de/default.asp?file=67211.xml
    • http://www.dotuscomus.com/svg/lib/library.html

    0 讨论(0)
提交回复
热议问题