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