Add comment why to set enableMouseWheel to false before activation
Change default viewport className. Allow specifying custom className. Optimize viewport creation. Closes #61
Make selector error more explicit
A group with transform attribute can't be used as viewport. Related to #61
Do not add null class to viewport. Update className only if default class name is not set
Do not copy defs into viewport
If SVG has viewBox then compute initial zoom and pan based on it
Fix fix and center with cache drop
Fix panning on only one axis
On container resize there is no need to drop viewbox cache
Add updateBBox API method that handles cases when viewport BBox changes
Get and set zoom values are relative to initial SVG internal zoom level. Closes #66
Add support for custom events handler. Closes #55
Pass before and after returns into shadow viewport
Add getSizes public API method. Exposes some internal variables
Proxy should return wrapped function return
Always wrap public callbacks into public API context. Callback may use this keyword to access public API object
Allow canceling pan and zoom from beforePan and beforeZoom. Closes #37
Pass oldZoom and newZoom into beforeZoom callback
Pass the same object into customEventsHandler destroy method