Anchor

282 views
Defines convenient links for moving between pages.
Used to create a link in a position within a particular page.
When you place a component, the following code is defined by default.
Unlike href, the router link also takes over the value of the global variable.

If it is href, it will be treated the same as reload.

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

There are properties below

Property
Content

Data Mapping

Specifies the controls defined in the Magic program.

Click the gear button to display a list of controls. You can choose from here.

Mapping Magic items and passing click events to the Magic side.

Router Link
Specify the destination for the routing.

Dropdown Type

Specify the dropdown display type from below.

  • Default …… The text shows an underbar just like a regular hyperlink.
  • Header …… The display line is displayed as a frame and the text shows an underbar.
  • Item …… The display line is displayed as a frame. The underbar is not displayed.
Share this Article

Anchor

Or copy link

CONTENTS