Hello,
First of all congratulations for the great work on Metronic.
I'm using the Demo 1 version of Angular, and I would like to know if it's possible for you to add a dynamic configuration for the aside menu in which it was only necessary to add an array with items with the title, translation, page, etc, and with this configuration the aside menu was generated.
I'm asking this because Metronic 7 has this dynamic aside menu config, and I loved it. Is it possible to add for Metronic 8?
Thank you very much,
Luís Campos
hello ..
there is any update ? looking to use dynamic aside menu in metronic 8 demo1
Hello,
I think not. I built my own dynamic component that reads from a config. The component looks like this:
```ts
<ng-container *ngIf="menuConfig && menuConfig.items">
<ng-container *ngFor="let item of menuConfig.items">
<ng-container
*ngIf="item.type === 'section'"
[ngTemplateOutlet]="menuItemSectionTemplate"
[ngTemplateOutletContext]="{ item }"
></ng-container>
<ng-container
*ngIf="item.type === 'separator'"
[ngTemplateOutlet]="menuItemSeparatorTemplate"
></ng-container>
<ng-container
*ngIf="item.type === 'level1'"
[ngTemplateOutlet]="menu1LevelTemplate"
[ngTemplateOutletContext]="{ item }"
></ng-container>
</ng-container>
</ng-container>
<ng-template #menu1LevelTemplate let-item="item">First Item</ng-template>
<ng-template #menu2LevelTemplate let-item="item">Second Item</ng-template>
<ng-template #menuItemSeparatorTemplate>
<div class="menu-item">
<div class="menu-content">
<div class="separator mx-1 my-4"></div>
</div>
</div>
</ng-template>
```
can you explain it more it will be helpful for me as I also have to implement it
Hi,
Thank you for your warm words.
About Dynamic Aside Menu, we don't have this in version 8, but for sure, it will be implemented in the next updates. Right now can't give you ETA, but the task is already in our backlog.
Regards,
Keenthemes support
Thank you very much for the reply, I'll be waiting.
Good work!