Creating a Sidebar Menu Modifier Class
  • 13 Mar 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Creating a Sidebar Menu Modifier Class

  • Dark
    Light
  • PDF

Article summary

Procedure

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

    ├── 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:

    // SidebarMenuModifier.ts
    import {ApiInterface} from "@navvis/ivion";
    
    export class SidebarMenuModifier {
      constructor(private ivApi: ApiInterface) {
      }
    }


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.