/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/src/app/editor/preview/preview-error.component.html
30 строк
968 B
Kam
feat(docs-infra): add Angie to the embedded editor error state
10 июл 2026, 21:12
10 июл 2026, 21:12
72cc548
Код
Авторство
О чём код?
<div class="adev-preview-error docs-light-mode docs-mini-scroll-track"> <img class="adev-preview-error-angie" src="assets/images/angie/error.svg" alt="" aria-hidden="true" /> @if (error()?.type === ErrorType.UNSUPPORTED_BROWSER_ENVIRONMENT) { @if (isIos) { <p>Open angular.dev on desktop to code in your browser.</p> } } @else if (error()?.type === ErrorType.COOKIES || error()?.type === ErrorType.UNKNOWN) { <p> We couldn't start the tutorial app. Please ensure third party cookies are enabled for this site. </p> } @else if (error()?.type === ErrorType.OUT_OF_MEMORY) { <p> We couldn't start the tutorial app because your browser is out of memory. To free up memory, close angular.dev tutorials in other tabs or windows, and refresh the page. </p> } @if (error()?.message) { <small> The error message is: <code>{{ error()!.message }}</code> </small> } </div>