i

Please enable JavaScript to view this site.

Documentation 8.5

A button can be included on a page, defining the characteristics by modeling its properties.

 

The element properties are represented by icons in its context menu, where its operations are also available.

Subtypes

 

Primary

Secondary

Tertiary

Structure Properties        

 

The structure properties panel of an element opens when selecting the icon PropiedadesEstructura of the context menu.

 

 

MPA-PropiedadesEstructura-003

Alignment

 

Allows to align the element by selecting one of the available icons.

 

AlineamientoIzq Align to the left.

 

AlineamientoCentro   Align to horizontal center.

 

AlineamientoDer Align to the right.

 

AlineamientoArriba Align up.

 

AlineamientoCentroVert Align vertical center.

 

AlineamientoAbajo Align bottom.

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.

 

If selecting percentage (%) for the width and height properties, the size is calculated relative to the top element.

Position Type

 

It determines if at the time of execution the element remains fixed on the page or if it moves as the scroll bar moves forward or backward.

 

MPA-PropiedadesTipoPosicion-002

 

Possible Values

 

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

Fixed: Fixes the element to the page so that it is always visible in the same position. It allows to increase the visibility of important content.

Docking

MPA-Acoplamiento-001

 

Determines the vertical and horizontal position of elements within the page section or container, when the screen is resized.

 

When an element is added or moved within the section or container, the modeler automatically docks it to the nearest corners or edges. It can also be configured by clicking on the arrows of the side to be docked to or on the center.

 

Once the element is docked, its exact position is indicated in the Margins property. The direction of the docking arrows determine the values that are automatically displayed for margins.

 

The docking position is indicated in the modeling area by dotted lines on the element.

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.

 

iconobordes Allows the value entered in one of the margins to be copied to the other ones automatically.

iconomargenes Allows to indicate different values for each margin.

Advanced

 

MPA-PropiedadesAvanzado-003

 

Name

Name used to reference the element during modeling.

 

Identifier

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

Style Properties

 

The style properties panel of an element opens when selecting the icon PropiedadesEstilo of the context menu.

 

 

MPA-PropiedadesEstilo-003

 

 

This type of element may take different states and for each of them different values for its properties may be modeled.

 

MPA-PropiedadesRegular-002

 

Regular: The mouse pointer is not over the element.

Hover: The mouse pointer is over the element.

Inactive: The element is disabled.

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).

 

iconobordes Allows values entered in one of the paddings to be copied to the other ones automatically.

iconomargenes Allows to indicate different values for each padding.

Font

MPA-PropiedadesFuente-002

 

It allows to define the text style.

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.

 

iconobordes Allows the value entered in one of the borders to be copied to the other ones automatically.

iconomargenes Allows to indicate different values for each border.

Round Edges

 

MPA-PropiedadesBordesRed-001

 

It allows to define the round edges at the corners of elements.

It can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh).

 

iconobordes Allows the value entered in one of the borders to be copied to the other ones automatically.

iconomargenes Allows to indicate different values for each border.

Shadow

 

MPA-PropiedadesSombra-002

 

Allows to define a shadow effect around the element.

 

Type

 

Possible Values

 

Outset

Inset

 

Horizontal

Horizontal size of the shadow to the right of the element. It can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh).

 

Vertical

Vertical size of the shadow below the element. It can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh).

 

Blur

The greater this value is, the greater and lighter the shadow becomes. If not specified, its value is 0 and the shadow border is darker. It can be expressed in pixels (px), percentage (%), viewport width (vw), and viewport height (vh).

 

Spread

Positive values will cause the shadow to expand and grow bigger, while negative values will cause the shadow to shrink. If not specified, its value is 0 and the shadow will have the same size as the element.

 

Color

Defines the color of the shadow.

 

Transparency

Defines the transparency of the shadow.

 

Configuration Properties

 

The configuration properties panel of an element opens when clicking the icon iconoConfiguracion of the context menu.

 

 

MPA-PropiedadesConfiguracion-002

 

 

Allows to select the source of the element's content.

Value

 

MPA-PropiedadesValor-002

 

Value

Allows to enter a text that is displayed in the element.

Parameters and Variables

 

MPA-PropiedadesParametro-001

 

Parameters and Variables

Allows to select a parameter or a variable from the page. Its value is displayed in the element.

Data Source

 

MPA-PropiedadesFuenteDatos-001

 

Data Source

Allows to select a data source that was previously defined on the page.

 

Fields

Allows to select a field from those retrieved in the chosen data source. Its value is displayed in the element.

Hyperlink Properties

 

The hyperlink properties panel of an element opens by pressing the icon iconohipervinculo of the context menu.

 

 

MPA-PropiedadesHipervínculo-008

 

 

Define the behavior of the element when selecting it. Different properties are enabled depending on the type of object selected.

Page

 

 

MPA-PropiedadesHipervínculo-009

 

 

Page

The pages modeled in the environment are displayed.

 

Target Type

The available options for opening the object are displayed.

 

Possible Values

 

Same Tab

New Window

Modal: if this option is selected the additional properties are enabled.

      Modal Horizontal Size

Define its width.

      Modal Vertical Size

Define its height.

Iframe: this option is selected and an additional property is enabled.

      Target Iframe

Displays the iframes previously defines in the page.

 

Parameters

If there are parameters, their value can be specified with text, parameters and variables or data source.

Deyel Page

 

 

MPA-PropiedadesHipervínculo-010

 

 

Deyel Page

The pages belonging to Deyel are displayed.

 

Target Type

The available options for opening the object are displayed.

 

Possible Values

 

Same Tab

New Window

Modal: if this option is selected the additional properties are enabled.

      Modal Horizontal Size

Define its width.

      Modal Vertical Size

Define its height.

Iframe: this option is selected and an additional property is enabled.

      Target Iframe

Displays the iframes previously defines in the page.

 

Parameters

Allows sending parameters to the selected object type.

Form

 

 

MPA-PropiedadesHipervínculo-011

 

 

Form

The forms modeled in the environment are displayed.

 

Operation

Defines the operation made when selecting the object.

 

Possible Values

 

New: Indicates that the panel of the form selected in the previous property is opened for the creation of an instance.

Grid: Indicates that the grid of the form selected in the previous property is opened.

 

Target Type

The available options for opening the object are displayed.

 

Possible Values

 

Same Tab

New Window

Modal: if this option is selected the additional properties are enabled.

      Modal Horizontal Size

Define its width.

      Modal Vertical Size

Define its height.

Iframe: this option is selected and an additional property is enabled.

      Target Iframe

Displays the iframes previously defines in the page.

 

Parameters

Allows sending parameters to the selected object type.

Process

 

 

MPA-PropiedadesHipervínculo-012

 

 

Process

The processes modeled in the environment are displayed.

 

Operation

Defines the operation made when selecting the object.

 

Target Type

The available options for opening the object are displayed.

 

Possible Values

 

Same Tab

New Window

Modal: if this option is selected the additional properties are enabled.

      Modal Horizontal Size

Define its width.

      Modal Vertical Size

Define its height.

Iframe: this option is selected and an additional property is enabled.

      Target Iframe

Displays the iframes previously defines in the page.

 

Parameters

Allows sending parameters to the selected object type.

Link

 

 

MPA-PropiedadesHipervínculo-013

 

 

Link

Allows to enter any link.

 

Target Type

The available options for opening the object are displayed.

 

Possible Values

 

Same Tab

New Window

Modal: if this option is selected the additional properties are enabled.

      Modal Horizontal Size

Define its width.

      Modal Vertical Size

Define its height.

Iframe: this option is selected and an additional property is enabled.

      Target Iframe

Displays the iframes previously defines in the page.

Element

 

 

MPA-PropiedadesHipervínculo-014

 

 

Element

The modeled elements in the page are displayed.

 

Operation

Defines the operation made when selecting the element.

 

Possible Values

 

Focus

Show

Hide

Show/Hide

 

Behaviour

Establishes the transition of the animation. It is only modelable if the "Focus" operation was selected.

 

Possible Values

 

Auto

Smooth

 

Vertical Scroll

 

Possible Values

 

Start: Moves to the start of the selected element.

Closest: Moves to the closest position to the selected element from the element the event fires.

Center: Moves to the center of the selected element.

End: Moves to the end of the selected element.

Back

 

 

MPA-PropiedadesHipervínculo-015

 

 

It allows associating the event to go back in the browser to the element.

Embedded Rules

 

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

 

 

MPA-PropiedadesReglas-003

Properties

 

Rules

Embedded rules on behavior, validation and calculation can be defined, associated with an element, by using the wizard (ctrl + space).

65S4_img6 Shows syntax examples for writing the rules.

 

65S4_v2_img9

Visible

Indicates whether the element is visible. If this property is not checked, the element is not displayed in 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.

 

65S4_v2_img7

Calculation

65S4_img11 Opens an edit area where you can define the expression to be executed to calculate the element value. 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

 

The buttons allow to use 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