We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great to be able to add Angular markup in menuItemTemplate.
menuItemTemplate
Perhaps even pass a ng-template
ng-template
I was hoping to be able to do something like this -
menuItemTemplate: function (item) { return ' <ion-row center>\n' + ' <ion-col class="face-col valign" col-auto>\n' + ' <img-cache [source]="item | image"></img-cache>\n' + ' <!--<div class="svg-container" [inlineSVG]="item.images.sm" [style.padding.px]="iconPadding" *ngIf="showSvg"></div>-->\n' + '\n' + ' </ion-col>\n' + ' <ion-col class="text valign" >\n' + ' ' + item.string + ' </ion-col>\n' + ' <ion-col col-auto class="valign">\n' + ' <span *ngIf="item.type === \'user\'"> <div class="icon" inlineSVG="icon-tagging-friend.svg"></div></span>\n' + ' <span *ngIf="item.type !== \'user\'"><div class="icon" inlineSVG="icon-tagging-venue.svg"></div></span>\n' + ' </ion-col>\n' + ' </ion-row>'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be great to be able to add Angular markup in
menuItemTemplate
.Perhaps even pass a
ng-template
I was hoping to be able to do something like this -
The text was updated successfully, but these errors were encountered: