Closed eddy2enam closed 7 years ago
To have icon in sidebar label, you just need to add extra column in GridLayout of sidebar labels.
For example,
<GridLayout
class="sidedrawer-list-item"
*ngFor="let nav of navMenu"
columns="30, *"
(tap)="navigateTo(nav.commands)">
<Image col="0" src="res://ic_menu_black"></Image>
<Button
col="1"
class="sidedrawer-list-item-text borderless-btn"
[text]="nav.name">
</Button>
</GridLayout>
Thanks.
How to add icon to sidebar label?
thz