/
githubmirror
/
ionic-framework
Обзор
Документация
Войти
/
githubmirror
/
ionic-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/src/providers/alert-controller.ts
13 строк
391 B
Shawn Taylor
refactor(angular): alert controller uses correct core instance (#28538)
16 ноя 2023, 19:50
Не верифицирован
16 ноя 2023, 19:50
1a135eb
Код
Авторство
О чём код?
import { Injectable } from '@angular/core'; import { OverlayBaseController } from '@ionic/angular/common'; import type { AlertOptions } from '@ionic/core'; import { alertController } from '@ionic/core'; @Injectable({ providedIn: 'root', }) export class AlertController extends OverlayBaseController<AlertOptions, HTMLIonAlertElement> { constructor() { super(alertController); } }