We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ca228 commit 1ab6be2Copy full SHA for 1ab6be2
src/app/demos/doc-demos/custom-template/custom-template.component.html
@@ -3,7 +3,10 @@
3
[options]="options"
4
[propertyMap]="{ img: 'flag' }">
5
<ng-template let-option="option">
6
- <img [src]="option.img" width="40px" height="40px" [attr.alt]="option.name" />
7
- {{ option.name }}
+ <style> .test { display: flex;align-items:center; } </style>
+ <div class="custom-option">
8
+ <img [src]="option.img" width="40px" height="40px" [attr.alt]="option.name" />
9
+ {{ option.name }}
10
+ </div>
11
</ng-template>
12
</ngx-multiselect>
0 commit comments