i

Please enable JavaScript to view this site.

Documentation 9.3

Represents the main styles and configurations of the page.

 

Access methods are used to retrieve items or access specific functionalities.

 

Class methods are specific to each element, facilitating their management and incorporating their own behavior.

Access Method

 

 

Name

Description

Result

$d.getRoot()

Gets the main configuration of the page.

Root

Class Methods

 

 

Name

Description

Result

getBackgroundColor()

Gets the color of the page background.

String

getBackgroundPosition()

Gets the position of the page background.

String

getBackgroundPositionX()

Gets the position of the background on the horizontal axis.

String

getBackgroundPositionY()

Gets the position of the background on the vertical axis.

String

getBackgroundRepeat()

Gets the background repeat configuration.

String

getBackgroundSize()

Gets the background size.

String

getDOMElement()

Gets the Javascript node

Javascript DOM

getVisible()

Gets if the element is visible.

Boolean

getPadding()

Gets the configured padding space.

String

getPaddingBottom()

Gets the configured bottom padding space.

String

 

getPaddingLeft()

Gets the configured left padding space.

String

 

getPaddingRight()

Gets the configured right padding space.

String

 

getPaddingTopt()

Gets the configured top padding space.

String

 

setBackgroundColor(color, state)

Sets the background color.

 

Parameters

•String color: Color in hexadecimal

•String state: Color state

Root

setBackgroundPosition(position, state)

Sets the position of the page background.

 

Parameters

•Object position: Object where the X and Y coordinates are configured

•String state: Position state

Root

setBackgroundPositionX(position, state)

Sets the background position on the horizontal axis of the page.

 

Parameters

•Object position: Object where the X and Y coordinates are configured

•String state: Position state

Root

setBackgroundPositionY(position, state)

Sets the background position on the vertical axis of the page.

 

Parameters

•Object position: Object where the X and Y coordinates are configured

•String state: Position state

Root

setBackgroundRepeat(repeat, state)

Sets the page background repeat configuration.

 

Parameters

•String repeat: Repetition type

•String state: Repetition state

Root

setBackgroundSize(size, state)

Sets the size of the page background.

 

Parameters

•String size: Background size

•String state: Size status

Root

setPadding(padding, state)

Sets the page padding space.

 

Parameters

•String padding: Padding space

•String state: Padding status

Root

setPaddingBottom(paddingBottom, state)

Sets bottom page padding space.

 

Parameters

•String paddingBottom: Padding space

•String state: Padding status

Root

setPaddingLeft(paddingLeft, state)

Sets left page padding space.

 

Parameters

•String paddingLeft: Padding space

•String state: Padding status

Root

setPaddingRight(paddingRight, state)

Sets right page padding space.

 

Parameters

•String paddingRight: Padding space

•String state: Padding status

Root

setPaddingTop(paddingTop, state)

Sets top page padding space.

 

Parameters

•String paddingTop: Padding space

•String state: Padding status

Root

setVisible(visible)

Sets if the page is visible.

 

Parameter

•Boolean visible: Determines whether it is visible or not

Root

Send us your comments
Share on X Share on Linkedin Send by Email Print