Menu

Overview

A navigation component that displays the structure of the application pages. You can configure the menu manually or update it automatically based on the app routes.

Properties

Name
Type
Description

name

string

Component name

Methods

Name
Parameters
Returns
Description

setItems

data: object[]

void

Set component data. 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?