Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
回答を表示するコンポーネントのテンプレート
<!-- 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
You can’t perform that action at this time.