i

Please enable JavaScript to view this site.

Documentation 8.6

Pages are divided into sections where elements can be included. The page has a defined section by default.

Operations

Add

 

It allows to add a new section by clicking on the icon AgregarSeccion of the existing section.

Modify Size

 

The section height can be changed from the top or bottom borders, by clicking on them and dragging them. Another way to change its size is from the section structure panel.

Move

 

A section can be moved using the functionality of layers.

Structure Properties

 

The structure properties panel of a section opens when selecting the icon PropiedadesEstructura of the context menu.

 

 

MPA-PropiedadesEstructura-001

Size

 

MPA-PropiedadesTamaño-001

 

All size properties can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh). Additionally, for Width and Height properties, the “auto” option is added.

 

Sections do not allow modifying the Width property.

Position Type

 

MPA-PropiedadesTipoPosicion-003

 

Possible Values

 

Default: The element has a relative position with respect to the superior element where it was placed (container or section).

Sticky: Available only in sections, it allows the section to remain visible while users continue to scroll through it. At first, the section positioned on the page is viewed, but it "sticks" to the screen as it is scrolled down.

Margins

MPA-PropiedadesMargenes-001

 

It allows to define the distance of elements from the borders of their top element. The behavior of margins depends on the docking of the element. It can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh).

 

Top

Distance to the top border of the highest ranking element.

 

Bottom

Distance to the bottom border of the highest ranking element.

 

Left

Distance to the left border of the highest ranking element.

 

Right

Distance to the right border of the highest ranking element.

Advanced

 

MPA-PropiedadesAvanzado-001

 

Name

Name used to reference the section during modeling.

 

Identifier

Uniquely identifies the section. It is used in the Javascript SDK.

Style Properties

 

The style properties panel of a section opens when selecting the icon PropiedadesEstilo of the context menu.

 

 

MPA-PropiedadesEstilo-001

Padding

MPA-PropiedadesEspacioRelleno-001

 

All padding space properties allow to create a space around the element borders (top, bottom, sides) and its content. The padding space configured is inward, while the margin is configured relative to a top element. It can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh).

Background Image

 

MPA-PropiedadesImagenFondo-001

 

It allows to add a background image to the section.

 

Selected

An image can be uploaded from the computer where it is being modeled.

 

Size

 

Possible Values

 

Cover

Content

Auto

 

Repeat

 

Possible Values

 

Repeat

Repeat Hor.

Repeat Vert.

Spacing

Rounded

Do Not Repeat

 

Horizontal and Vertical Position

 

Possible Values

 

Center

Left

Right

Background Color

 

It allows to model a background color for the element, it can be solid or gradient and different properties are defined for each one.

 

Solid

 

 

MPA-PropiedadesColor-001

 

This option enables not only to select the color from a palette but also to define the degree of transparency.

 

 

MPA-PropiedadesEstilo-018

 

 

Gradient

 

MPA-PropiedadesEstilo-020

 

This option enables to select not only the color from a palette but also to define its opacity and intensity according to the selected angle.

 

 

MPA-PropiedadesEstilo-019

Edges

MPA-PropiedadesBordes-001

 

It allows to define the style of borders. Each one has its type, width, color and opacity defined, the latter as a percentage.

Embedded Rules

 

The embedded rules properties panel of a section opens when selecting the icon MPA-IconoRegla of the context menu.

 

 

MPA-PropiedadesReglas-001

 

Properties

 

Rules

It is possible to define behavior, validation and calculation embedded rules associated with a section, by using the wizard (ctrl + space).

65S4_img6 Shows syntax examples to write rules.

 

65S4_v2_img9

Visible

Indicates whether the section is visible. If this property is not checked, the section is not displayed on the page.
toggles_img1  Visible (default)   toggles_img3 Not visible

65S4_img11 Opens an edit area where a rule to determine the visibility condition can be defined. If a rule is defined, the icon is displayed with light blue borders.

 

 

Operations when defining the rule:

 

icon-mod-proc-jxxf3489fhdj

Saves the new or modified rule

icon-mod-proc-d6f4xxx6dfhjfdj

Cancels the operation

 

Operations once the rule is defined:

 

icon-mod-proc-xxcf5hfs89fhdj

Edits the existing rule

iconoTACHO_AZUL

Deletes the rule

Events

 

Sections allow the use of different events.

 

 

Event

Description

onMouseIn()

It is executed when the cursor is positioned on the element.

onMouseOut()

It is executed when the cursor moves out of the element.

onClick()

It is executed when clicking on the element.

onDoubleClick()

It is executed when clicking twice on the element.

onInit()

It is executed before the element is loaded.

afterViewInit()

It is executed after viewing the element.

onViewportEnter()

It is executed when the element is visible.

onViewportLeave()

It is executed when the element is no longer visible.

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