https://github.com/angular/angular
Raw File
Tip revision: 6353b77f891d4a74953b23afcf5dd6f64db09a09 authored by Alex Rickabaugh on 20 December 2017, 20:50:50 UTC
docs: add changelog for 5.1.2
Tip revision: 6353b77
control_container.ts
/**
 * @license
 * Copyright Google Inc. 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.io/license
 */

import {AbstractControlDirective} from './abstract_control_directive';
import {Form} from './form_interface';


/**
 * A directive that contains multiple {@link NgControl}s.
 *
 * Only used by the forms module.
 *
 * @stable
 */
export abstract class ControlContainer extends AbstractControlDirective {
  name: string;

  /**
   * Get the form to which this container belongs.
   */
  get formDirective(): Form|null { return null; }

  /**
   * Get the path to this container.
   */
  get path(): string[]|null { return null; }
}
back to top