new PageControls()
Creates a new instance of PageControls. A prebuilt component that allows users to change the page of the document.
Properties:
Name | Type | Argument | Description |
---|---|---|---|
className |
string |
<optional> |
String with CSS classes to be applied to the page controls component, allowing additional styling and customization through external stylesheets. const pageControls = new UI.Components.PageControls(); |
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: