/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docs/scenes/src/app/scene-overlay-container.ts
21 строка
649 B
Kristiyan Kostadinov
build: switch docs to service decorator
25 апр 2026, 23:10
25 апр 2026, 23:10
7ac0542
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Service} from '@angular/core'; import {OverlayContainer} from '@angular/cdk/overlay'; @Service() export class SceneOverlayContainer extends OverlayContainer { _createContainer(): void { const container = this._document.createElement('div'); container.classList.add('scene-overlay-container'); this._document.querySelector('#scene-content-container')?.appendChild(container); this._containerElement = container; } }