Scrollview
A configurable scrollbox designed for pixi.js.
Features:
- Scrollview uses a mask to clip to desired boxWidth/boxHeight size
- Scrollview scrolls with scrollbars (options.overflow=scroll)
- Scrollview's scrollbars may be hidden when not needed (options.overflow=auto or hidden)
- Scrollview may also be scrolled by dragging on the content window (options.dragScroll=true)
See https://davidfig.github.io/pixi-scrollbox/jsdoc/Scrollbox.html and https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html
Let's look at some switch examples:
What you should see: Many switches with very different styling and behaviour.