Zoom view zoom-view
Main view consists of the zoomable image.
CSS properties of the main viewer area
The appearance of the viewing area is controlled with the following CSS class selector:
.s7zoomviewer .s7zoomview
Example - To make the main view transparent.
.s7zoomviewer .s7zoomview {
background-color: transparent;
}
On desktop systems the component supports cursortype attribute selector which can be applied to the .s7zoomview class. It controls the type of the cursor based on component state and user action. The following cursortype values are supported:
-
defaultDisplayed when the image is not zoomable because of a small image resolution, or component settings, or both.
-
zoominDisplayed when the image can be zoomed in.
-
resetDisplayed when the image is at maximum zoom level and can be reset to its initial state.
-
dragDisplayed when the user pans the image which is in zoomed in state.
-
slideDisplayed when the user performs image swap by doing a horizontal swipe or flick.