Created
December 24, 2018 11:30
-
-
Save takuya-nakayasu/47a866ca2195bc5cb05c12d9b3ed9fad 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
<!-- YesNo.WTF APIのレスポンス結果が格納されていない場合、非表示 --> | |
<div *ngIf="answer" class="response"> | |
<!-- 回答結果(YES or NOを表示) --> | |
<div class="answer"> | |
{{answer.answer | uppercase}} | |
</div> | |
<!-- GIF画像を表示 --> | |
<img class="gif" src="{{answer.image}}"> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment