DocumentationDynamic Media Viewers Reference Guide

Zoom view

Last update: November 6, 2021
  • Topics:
  • Dynamic Media Classic,Viewers,SDK/API,Zoom

CREATED FOR:

  • Developer
  • User

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:

.s7basiczoomviewer .s7zoomview
CSS propertyDescription
background-colorBackground color in hexadecimal format of the main view.
cursorCursor is displayed over the main view.

Example - to make the main view transparent.

.s7basiczoomviewer .s7zoomview {
 background-color: transparent;
}

On desktop systems, the component supports the cursortype attribute selector which can be applied to the .s7zoomview class and controls the cursor type based on the component state and user action. The following cursortype values are supported:

ValueDescription
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 on.
resetDisplayed when the image is at maximum zoom level and can be reset to its initial state.
dragDisplayed when a user pans the image which is in zoomed in state.
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8