2016-06-08 15:36:24 -07:00
|
|
|
import {AbstractControlDirective} from './abstract_control_directive';
|
2016-06-08 16:38:52 -07:00
|
|
|
import {Form} from './form_interface';
|
|
|
|
|
2016-06-08 15:36:24 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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; }
|
|
|
|
}
|