Class: Zoom

UI.Components. Zoom


new Zoom()

Creates a new instance of Zoom. A prebuilt feature that allows users to zoom in and out of the document.
Properties:
Name Type Argument Description
className string <optional>
String with CSS classes to be applied to the zoom element, allowing additional styling and customization through external stylesheets.
Example
const zoomControls = new UI.Components.Zoom();

Extends

Methods


setStyle(style)

Sets the style of the Item (padding, border, background, etc.)
Parameters:
Name Type Description
style Object An object that can change the CSS style of the Item component.
Inherited From: