/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/forms/src/directives/control_container.ts
41 строка
916 B
Matthieu Riegler
refactor(core): remove TODOs referencing #24571 (#60648)
31 мар 2025, 23:24
31 мар 2025, 23:24
51c303a
Код
Авторство
О чём код?
/** * @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 {AbstractControlDirective} from './abstract_control_directive'; import type {Form} from './form_interface'; /** * @description * A base class for directives that contain multiple registered instances of `NgControl`. * Only used by the forms module. * * @publicApi */ export abstract class ControlContainer extends AbstractControlDirective { /** * @description * The name for the control */ name!: string | number | null; /** * @description * The top-level form directive for the control. */ get formDirective(): Form | null { return null; } /** * @description * The path to this group. */ override get path(): string[] | null { return null; } }