/
githubmirror
/
ionic-framework
Обзор
Документация
Войти
/
githubmirror
/
ionic-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/standalone/src/providers/loading-controller.ts
15 строк
529 B
Liam DeBeasi
fix(angular): overlays are defined when using standalone controllers (#28560)
21 ноя 2023, 01:45
Не верифицирован
21 ноя 2023, 01:45
9453132
Код
Авторство
О чём код?
import { Injectable } from '@angular/core'; import { OverlayBaseController } from '@ionic/angular/common'; import type { LoadingOptions } from '@ionic/core/components'; import { loadingController } from '@ionic/core/components'; import { defineCustomElement } from '@ionic/core/components/ion-loading.js'; @Injectable({ providedIn: 'root', }) export class LoadingController extends OverlayBaseController<LoadingOptions, HTMLIonLoadingElement> { constructor() { super(loadingController); defineCustomElement(); } }