Q viewport Class
This plugin enables the user to move & scale content inside a container using the mouse and mousewheel, or touches on a touchscreen.
Constructor
Q viewport
(
-
[options]
Parameters:
-
[options]Object optionalthis object contains function parameters
-
[containerClass]String optionalany class names to add to the actions container
-
[initial]Object optionalcan be used to set initial bounds of content to display inside tool.
-
[onRelease]Q.Event optionalThis event triggering after viewport creation
-
[onScale]Q.Event optionalOccurs when the user scales the content
-
[onMove]Q.Event optionalOccurs when user moves the content around
-
[onUpdate]Q.Event optionalOccurs when the selection changes in any way
-