chore(doc-gen): remove unnecessary @public
and @exportedAs
tags
This commit is contained in:
@ -31,8 +31,6 @@ export {NgValidator, NgRequiredValidator} from './directives/validators';
|
||||
* A list of all the form directives used as part of a `@View` annotation.
|
||||
*
|
||||
* This is a shorthand for importing them each individually.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export const formDirectives: List<Type> = CONST_EXPR([
|
||||
NgControlName,
|
||||
|
@ -14,8 +14,6 @@ import {setProperty} from './shared';
|
||||
* ```
|
||||
* <input type="checkbox" [ng-control]="rememberLogin">
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector:
|
||||
|
@ -14,8 +14,6 @@ import {setProperty} from './shared';
|
||||
* ```
|
||||
* <input type="text" [(ng-model)]="searchQuery">
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector:
|
||||
|
@ -5,8 +5,6 @@ import {AbstractControlDirective} from './abstract_control_directive';
|
||||
* An abstract class that all control directive extend.
|
||||
*
|
||||
* It binds a {@link Control} object to a DOM element.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export class NgControl extends AbstractControlDirective {
|
||||
name: string = null;
|
||||
|
@ -47,8 +47,6 @@ const controlGroupBinding =
|
||||
* }
|
||||
*
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[ng-control-group]',
|
||||
|
@ -70,8 +70,6 @@ const controlNameBinding =
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[ng-control]',
|
||||
|
@ -44,8 +44,6 @@ const formDirectiveBinding =
|
||||
* }
|
||||
*
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: 'form:not([ng-no-form]):not([ng-form-model]),ng-form,[ng-form]',
|
||||
|
@ -58,8 +58,6 @@ const formControlBinding =
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[ng-form-control]',
|
||||
|
@ -79,8 +79,6 @@ const formDirectiveBinding =
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[ng-form-model]',
|
||||
|
@ -28,8 +28,6 @@ const formControlBinding = CONST_EXPR(new Binding(NgControl, {toAlias: forwardRe
|
||||
* searchQuery: string;
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[ng-model]:not([ng-control]):not([ng-form-control])',
|
||||
|
@ -16,7 +16,6 @@ import {setProperty} from './shared';
|
||||
* <option *ng-for="#c of cities" [value]="c"></option>
|
||||
* </select>
|
||||
* ``
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({selector: 'option'})
|
||||
export class NgSelectOption {
|
||||
@ -24,8 +23,6 @@ export class NgSelectOption {
|
||||
|
||||
/**
|
||||
* The accessor for writing a value and listening to changes on a select element.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
@Directive({
|
||||
selector: 'select[ng-control],select[ng-form-control],select[ng-model]',
|
||||
|
@ -66,7 +66,6 @@ import * as modelModule from './model';
|
||||
* });
|
||||
*
|
||||
* ```
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export class FormBuilder {
|
||||
group(controlsConfig: StringMap<string, any>,
|
||||
|
@ -5,15 +5,11 @@ import {Validators} from './validators';
|
||||
|
||||
/**
|
||||
* Indicates that a Control is valid, i.e. that no errors exist in the input value.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export const VALID = "VALID";
|
||||
|
||||
/**
|
||||
* Indicates that a Control is invalid, i.e. that an error exists in the input value.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export const INVALID = "INVALID";
|
||||
|
||||
@ -144,8 +140,6 @@ export class AbstractControl {
|
||||
* `Control` is one of the three fundamental building blocks used to define forms in Angular, along
|
||||
* with
|
||||
* {@link ControlGroup} and {@link ControlArray}.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export class Control extends AbstractControl {
|
||||
_onChange: Function;
|
||||
@ -181,8 +175,6 @@ export class Control extends AbstractControl {
|
||||
* {@link Control} and {@link ControlArray}. {@link ControlArray} can also contain other controls,
|
||||
* but is of variable
|
||||
* length.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export class ControlGroup extends AbstractControl {
|
||||
controls: StringMap<string, AbstractControl>;
|
||||
@ -263,12 +255,8 @@ export class ControlGroup extends AbstractControl {
|
||||
* changes as well.
|
||||
*
|
||||
* `ControlArray` is one of the three fundamental building blocks used to define forms in Angular,
|
||||
* along with
|
||||
* {@link Control} and {@link ControlGroup}. {@link ControlGroup} can also contain other controls,
|
||||
* but is of fixed
|
||||
* length.
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
* along with {@link Control} and {@link ControlGroup}. {@link ControlGroup} can also contain
|
||||
* other controls, but is of fixed length.
|
||||
*/
|
||||
export class ControlArray extends AbstractControl {
|
||||
controls: List<AbstractControl>;
|
||||
|
@ -11,8 +11,6 @@ import * as modelModule from './model';
|
||||
* ```
|
||||
* var loginControl = new Control("", Validators.required)
|
||||
* ```
|
||||
*
|
||||
* @exportedAs angular2/forms
|
||||
*/
|
||||
export class Validators {
|
||||
static required(c: modelModule.Control): StringMap<string, boolean> {
|
||||
|
Reference in New Issue
Block a user