i

Please enable JavaScript to view this site.

Documentation 8.5

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.getElement(idElement)

Searches and gets an element by identifier.

 

Parameter

String idElement: Element identifier

PageElement

$d.getButton(idElement)

Searches and gets a button by identifier.

 

Parameter

String idElement: Button identifier

Button

$d.getColumnItem(idElement)

Searches and gets a column of an item.

 

Parameter

String idElement: Column identifier

ColumnItem

$d.getContainer(idElement)

Searches and gets a container by identifier.

 

Parameter

String idElement: Container identifier

container

$d.getEnrichedText(idElement)

Searches and gets a rich text by identifier.

 

Parameter

String idElement: Rich text identifier

EnrichedText

$d.getStripItem(idElement)

Searches and gets a strip of the item by identifier.

 

Parameter

String idElement: Strip identifier

PageStripItem

$d.getIcon(idElement)

Searches and gets an icon by identifier.

 

Parameter

String idElement: Icon identifier

Icon

$d.getIframe(idElement)

Searches and gets an iframe by identifier.

 

Parameter

String idElement: Iframe identifier

iframe

$d.getImage(id Element)

Searches and gets an image by identifier.

 

Parameter

String idElement: Image identifier

Image

$d.getInput(idElement)

Searches and gets an input by identifier.

 

Parameter

String idElement: Input identifier

input

$d.getItem(idElement)

Searches and gets an item by identifier.

 

Parameter

String idElement: Item identifier

Item

$d.getLayout(IdElement)

Searches and gets a layout by identifier.

 

Parameter

String idElement: Layout identifier

Layout

$d.getMosaicItem(IdElement)

Searches and gets an item mosaic by identifier.

 

Parameter

String idElement: Item mosaic identifier

MosaicItem

$d.getRepeater(idElement)

Searches and gets a repeater by identifier.
 
Parameter

String idElement: Repeater identifier

Repeater

$d.getRowItem(idElement)

Searches and gets an item row by identifier.

 

Parameter

String idElement: Item row identifier

Row

$d.getSection(idElement)

Searches and gets a section by identifier.

 

Parameter

String idElement: Section identifier

Section

$d.getText(idElement)

Searches and gets a text by identifier.

 

Parameter

String idElement: Text identifier

Text

$d.getWidget(idElement)

 

Searches and gets a widget by identifier.
 
Parameter

String idElement: widget identifier

Widget

PageElement Class Methods

 

 

Name

Description

Result

getDOMElement()

Gets the element within the DOM.

DOMElement

getMargin()

Gets the margin value.

String

getMarginBottom()

Gets the bottom margin value.

String

getMarginLeft()

Gets the left margin value.

String

getMarginRight()

Gets the right margin value.

String

getMarginTop()

Gets the top margin value.

String

getPosition()

Gets the value of the element's position.

String

getPositionBottom()

Gets the value of the element's bottom position.

String

getPositionLeft()

Gets the value of the element's left position.

String

getPositionRight()

Gets the value of the element's right position.

String

getPositionTop()

Gets the value of the element's top position.

String

getVisible()

Gets if the element is visible.

Boolean

setMargin(margin)

Parameter

String margin: Margin value

PageElement

setMarginBottom(margin)

Parameter

String margin: Bottom margin value

PageElement

setMarginLeft(margin)

Parameter

String margin: Gets the left margin value

PageElement

setMarginRight(margin)

Parameter

String margin: Gets the right margin value

PageElement

setMarginTop(margin)

Parameter

String margin: Top margin value

PageElement

setPosition(position)

Parameter

String position: Position value

PageElement

setPositionBottom(position)

Parameter

String position: Bottom position value

PageElement

setPositionLeft(position)

Parameter

String position: Left position value

PageElement

setPositionRight(position)

Parameter

String position: Right position value

PageElement

setPositionTop(position)

Parameter

String position: Top position value

PageElement

setVisible(visible)

Sets if the page is visible.

 

Parameter

Boolean visible: Determines whether it is visible or not

PageElement

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