@angular/core 12.0.1 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.0.1
2
+ * @license Angular v12.0.2
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -12386,17 +12386,19 @@
12386
12386
  *
12387
12387
  * @usageNotes
12388
12388
  * Given the following DOM structure:
12389
+ *
12389
12390
  * ```html
12390
- * <my-app>
12391
+ * <app-root>
12391
12392
  * <div>
12392
12393
  * <child-comp></child-comp>
12393
12394
  * </div>
12394
- * </my-app>
12395
+ * </app-root>
12395
12396
  * ```
12397
+ *
12396
12398
  * Calling `getComponent` on `<child-comp>` will return the instance of `ChildComponent`
12397
12399
  * associated with this DOM element.
12398
12400
  *
12399
- * Calling the function on `<my-app>` will return the `MyApp` instance.
12401
+ * Calling the function on `<app-root>` will return the `MyApp` instance.
12400
12402
  *
12401
12403
  *
12402
12404
  * @param element DOM element from which the component should be retrieved.
@@ -12525,12 +12527,14 @@
12525
12527
  *
12526
12528
  * @usageNotes
12527
12529
  * Given the following DOM structure:
12528
- * ```
12529
- * <my-app>
12530
+ *
12531
+ * ```html
12532
+ * <app-root>
12530
12533
  * <button my-button></button>
12531
12534
  * <my-comp></my-comp>
12532
- * </my-app>
12535
+ * </app-root>
12533
12536
  * ```
12537
+ *
12534
12538
  * Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`
12535
12539
  * directive that is associated with the DOM node.
12536
12540
  *
@@ -12650,14 +12654,16 @@
12650
12654
  *
12651
12655
  * @usageNotes
12652
12656
  * Given the following DOM structure:
12653
- * ```
12654
- * <my-app>
12655
- * <div (click)="doSomething()"></div>
12656
- * </my-app>
12657
12657
  *
12658
+ * ```html
12659
+ * <app-root>
12660
+ * <div (click)="doSomething()"></div>
12661
+ * </app-root>
12658
12662
  * ```
12663
+ *
12659
12664
  * Calling `getListeners` on `<div>` will return an object that looks as follows:
12660
- * ```
12665
+ *
12666
+ * ```ts
12661
12667
  * {
12662
12668
  * name: 'click',
12663
12669
  * element: <div>,
@@ -22025,7 +22031,7 @@
22025
22031
  /**
22026
22032
  * @publicApi
22027
22033
  */
22028
- var VERSION = new Version('12.0.1');
22034
+ var VERSION = new Version('12.0.2');
22029
22035
 
22030
22036
  /**
22031
22037
  * @license
@@ -23251,7 +23257,7 @@
23251
23257
  *
23252
23258
  * ```typescript
23253
23259
  * @Component({
23254
- * selector: 'my-app',
23260
+ * selector: 'app-root',
23255
23261
  * template: `Number of ticks: {{numberOfTicks}}`
23256
23262
  * changeDetection: ChangeDetectionStrategy.OnPush,
23257
23263
  * })
@@ -23371,7 +23377,7 @@
23371
23377
  * }
23372
23378
  *
23373
23379
  * @Component({
23374
- * selector: 'my-app',
23380
+ * selector: 'app-root',
23375
23381
  * providers: [DataProvider],
23376
23382
  * template: `
23377
23383
  * Live Update: <input type="checkbox" [(ngModel)]="live">