Div

398 views

Define the basic display block. It can also be used instead of a container.

When you place a component, the following code is defined by default.

<div data-comp-id=”div.1″ id=”div.1″></div>

There are the following properties.

Property
Content
Form Name
Specify the name of the form.
Click the gear button
A list of controls defined in the Magic program is displayed.

You can specify and define controls from here.
IsScreenGroup
Specifies whether to group components.
Is Visible
Specifies whether to display the control. You can specify the following values.
Click the gear button to see a list of Angular functions.
You can specify and define functions from here.
If you enter directly, please enclose it in the quartation ( “ ).
Often set the getVisible function as mg.getVisible(mgc.V_Dummy) and associate it with Magic’s visibility
Display If
Specifies whether to display the control.
Similar to Is Visible, but set a logical expression and specify it in True, or False.
Other mg.getValue( mgc.V_Dummy)
!If you type = ”, it will be displayed as V_Dummy will be True if it is not blank.
Share this Article

Div

Or copy link

CONTENTS