Interface MainLink

Represents a main link in the Access Menu. These are the links shown in the top section of the menu.

interface MainLink {
    href: string;
    isExternal?: boolean;
    label: string;
    target?: "_blank" | "_self" | "_parent" | "_top";
}

Properties

href: string

The URL it links to.

isExternal?: boolean

If true, an 'external' icon will be shown next to the link to indicate it leads to an external site.

label: string

The text that will be shown.

target?: "_blank" | "_self" | "_parent" | "_top"

Specifies where to open the linked document. Possible values are:

  • '_blank': Opens the link in a new window or tab.
  • '_self': Opens the link in the same frame as it was clicked (default).
  • '_parent': Opens the link in the parent frame.
  • '_top': Opens the link in the full body of the window.