vectoris
6 Mar 2019, 9:14 PM
Hello!
It seems that the navmenu-component in the boilerplate example isn't used at all, because the app-component has its own treelist for navigation.
I tried to replace the treelist with the navmenu-component, but it doesn't work.
Why is it possible to do this:
<container [fullscreen]="true" layout="fit">
<panel docked="left" shadow="true">
<treelist ...>
</treelist>
</panel>
</container>
but not this:
<container [fullscreen]="true" layout="fit">
<titlebar [title]="title" docked="top">
<button align="left" *ngIf="isPhone" iconCls="x-fa fa-bars" [handler]="this.toggleAppMenu" ripple="false"></button>
</titlebar>
<panel docked="left" shadow="true">
<my-component>
</my-component>
</panel>
<container>
<router-outlet #extroute></router-outlet>
</container>
</container>
What do i have to to with my-component that this works?
Thx in advance!
It seems that the navmenu-component in the boilerplate example isn't used at all, because the app-component has its own treelist for navigation.
I tried to replace the treelist with the navmenu-component, but it doesn't work.
Why is it possible to do this:
<container [fullscreen]="true" layout="fit">
<panel docked="left" shadow="true">
<treelist ...>
</treelist>
</panel>
</container>
but not this:
<container [fullscreen]="true" layout="fit">
<titlebar [title]="title" docked="top">
<button align="left" *ngIf="isPhone" iconCls="x-fa fa-bars" [handler]="this.toggleAppMenu" ripple="false"></button>
</titlebar>
<panel docked="left" shadow="true">
<my-component>
</my-component>
</panel>
<container>
<router-outlet #extroute></router-outlet>
</container>
</container>
What do i have to to with my-component that this works?
Thx in advance!