Last active
November 23, 2017 11:21
-
-
Save anjmao/7c44644fcd68a9adfa8a437a8b7000da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---html,true | |
<ng-select [items]="items" | |
notFoundText="No results found" | |
typeToSearchText="Search for github account" | |
bindLabel="login" | |
[placeholder]="placeholder" | |
[multiple]="multiple" | |
[typeahead]="typeahead" | |
[(ngModel)]="githubAccount"> | |
<ng-template ng-option-tmp let-item="item"> | |
<img [src]="item.avatar_url" width="20px" height="20px"> {{item.login}} | |
</ng-template> | |
</ng-select> | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment