---
title: "Creating a Sidebar Menu Modifier Class in the NavVis IVION API"
slug: "creating-a-sidebar-menu-modifier-class-1"
updated: 2024-03-13T09:20:22Z
published: 2024-03-13T09:20:22Z
canonical: "knowledge.navvis.com/creating-a-sidebar-menu-modifier-class-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.navvis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating a Sidebar Menu Modifier Class

## Procedure

1. In `./src`, create a file named `SidebarMenuModifier.ts`

```plaintext
├── package.json
├── src
│   ├── SidebarMenuModifier.ts <----
│   ├── image
│   │   ├── favicon.ico
│   ├── index.html
│   ├── index.scss
│   ├── index.ts
├── tsconfig.json
└── webpack.config.js
```

1. Create the `SidebarMenuModifier` builder class, which receives the NavVis IVION Frontend API as a parameter:

```plaintext
// SidebarMenuModifier.ts
import {ApiInterface} from "@navvis/ivion";

export class SidebarMenuModifier {
  constructor(private ivApi: ApiInterface) {
  }
}
```

Application Programming Interface
