25 lines
517 B
TypeScript
25 lines
517 B
TypeScript
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.
|
|
*
|
|
* @experimental
|
|
*/
|
|
export class ControlContainer extends AbstractControlDirective {
|
|
name: string;
|
|
|
|
/**
|
|
* Get the form to which this container belongs.
|
|
*/
|
|
get formDirective(): Form { return null; }
|
|
|
|
/**
|
|
* Get the path to this container.
|
|
*/
|
|
get path(): string[] { return null; }
|
|
}
|