Created
November 23, 2017 10:52
-
-
Save anjmao/a292459094189139e0e318ab7e92e2eb 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
<pre> | |
<code class="html"> | |
<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> | |
</code> | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment