Horizontal menu

Overview

A horizontal navigation menu that displays the structure of the application pages. You can configure the menu manually or update it automatically based on the app routes. The component supports multiple levels of sub-items and offers various alignment options.

Properties

Name
Type
Description

name

string

Component name

Methods

Name
Parameters
Returns
Description

setItems

data: object[]

void

Set menu items. Data is an array of items. Each item is an object with the following structure: { title: string; link: string; icon?: string; children?: object[]; }

Triggers

Name
Description

On Init

Triggered when the component is initialized

On Item Click

Triggered when a menu item is clicked

Last updated

Was this helpful?