Class: ViewControls

UI.Components. ViewControls


new ViewControls()

Creates a new instance of ViewControls. A prebuilt feature that allows users to change the Page Transition, Orientation, and Layout of the document.
Properties:
Name Type Argument Description
className string <optional>
String with CSS classes to be applied to the view controls element, allowing additional styling and customization through external stylesheets.
Example
const viewControlsToggle = new UI.Components.ViewControls();

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: