Created
February 6, 2020 06:46
-
-
Save IntegerMan/145a39061f56d4034f5cf0f46ca3824d 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
<div [ngSwitch]="Entry.EntryType"> | |
<app-story-text *ngSwitchCase="Entries.StoryNarrative" [Text]="Entry.Text"></app-story-text> | |
<app-player-command *ngSwitchCase="Entries.PlayerCommand" [Text]="Entry.Text"></app-player-command> | |
<p *ngSwitchCase="Entries.SystemText" class="text-system">{{Entry.Text}}</p> | |
<p class="text-warn" *ngSwitchDefault>{{Entry.Text}}</p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment