source: trip-planner-front/node_modules/@angular/forms/esm2015/src/directives/ng_control.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 3.1 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { AbstractControlDirective } from './abstract_control_directive';
9/**
10 * @description
11 * A base class that all `FormControl`-based directives extend. It binds a `FormControl`
12 * object to a DOM element.
13 *
14 * @publicApi
15 */
16export class NgControl extends AbstractControlDirective {
17 constructor() {
18 super(...arguments);
19 /**
20 * @description
21 * The parent form for the control.
22 *
23 * @internal
24 */
25 this._parent = null;
26 /**
27 * @description
28 * The name for the control
29 */
30 this.name = null;
31 /**
32 * @description
33 * The value accessor for the control
34 */
35 this.valueAccessor = null;
36 }
37}
38//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfY29udHJvbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1zL3NyYy9kaXJlY3RpdmVzL25nX2NvbnRyb2wudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFLdEU7Ozs7OztHQU1HO0FBQ0gsTUFBTSxPQUFnQixTQUFVLFNBQVEsd0JBQXdCO0lBQWhFOztRQUNFOzs7OztXQUtHO1FBQ0gsWUFBTyxHQUEwQixJQUFJLENBQUM7UUFFdEM7OztXQUdHO1FBQ0gsU0FBSSxHQUF1QixJQUFJLENBQUM7UUFFaEM7OztXQUdHO1FBQ0gsa0JBQWEsR0FBOEIsSUFBSSxDQUFDO0lBU2xELENBQUM7Q0FBQSIsInNvdXJjZXNDb250ZW50Ij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