2015-07-07 15:53:16 -07:00
|
|
|
import {AbstractControlDirective} from './abstract_control_directive';
|
2016-06-08 16:38:52 -07:00
|
|
|
import {Form} from './form_interface';
|
|
|
|
|
2015-06-10 13:51:44 -07:00
|
|
|
|
|
|
|
/**
|
2015-09-29 12:59:56 -07:00
|
|
|
* A directive that contains multiple {@link NgControl}s.
|
2015-06-10 13:51:44 -07:00
|
|
|
*
|
2015-06-11 09:58:53 -07:00
|
|
|
* Only used by the forms module.
|
2016-05-27 11:24:05 -07:00
|
|
|
*
|
|
|
|
* @experimental
|
2015-06-10 13:51:44 -07:00
|
|
|
*/
|
2015-07-07 15:53:16 -07:00
|
|
|
export class ControlContainer extends AbstractControlDirective {
|
2015-06-10 13:51:44 -07:00
|
|
|
name: string;
|
2015-09-29 12:59:56 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the form to which this container belongs.
|
|
|
|
*/
|
2015-06-10 13:51:44 -07:00
|
|
|
get formDirective(): Form { return null; }
|
2015-09-29 12:59:56 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the path to this container.
|
|
|
|
*/
|
2015-08-28 11:29:19 -07:00
|
|
|
get path(): string[] { return null; }
|
2015-06-10 13:51:44 -07:00
|
|
|
}
|