i

Please enable JavaScript to view this site.

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.

Change 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  

 

MPA-PropiedadesColordeFondo-001

 

It allows to add a background color and transparency to the section.

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.

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 comment
Share on Twitter Share on Linkedin Send by Email Print