/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/standalone/src/providers/alert-controller.ts
15 строк
515 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 { AlertOptions } from '@ionic/core/components'; import { alertController } from '@ionic/core/components'; import { defineCustomElement } from '@ionic/core/components/ion-alert.js'; @Injectable({ providedIn: 'root', }) export class AlertController extends OverlayBaseController<AlertOptions, HTMLIonAlertElement> { constructor() { super(alertController); defineCustomElement(); } }