Creating a Sidebar Menu Modifier Class
- 13 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Creating a Sidebar Menu Modifier Class
- Updated on 13 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Procedure
In
./src
, create a file namedSidebarMenuModifier.ts
├── package.json ├── src │ ├── SidebarMenuModifier.ts <---- │ ├── image │ │ ├── favicon.ico │ ├── index.html │ ├── index.scss │ ├── index.ts ├── tsconfig.json └── webpack.config.js
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?