@if (autohide) { {{ delayRemaining() / 1000 | number: '1.0-0' }} seconds }
@switch (toast.level) { @case (ToastLevel.Success) { } @case (ToastLevel.Error) { } @default { } }

{{toast.content}}

@if (toast.error) {
@if (isDetailedError(toast.error)) {
URL
{{ toast.error.url }}
Status
{{ toast.error.status }} {{ toast.error.statusText }}
Error
{{ getErrorText(toast.error) }}
}
} @if (toast.action) { }
@if (!autohide && toast.timestamp) { {{relativeTimestamp}} }