@angular/core 13.2.0-rc.1 → 13.2.3
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.
- package/core.d.ts +86 -105
- package/esm2020/src/application_ref.mjs +3 -22
- package/esm2020/src/debug/debug_node.mjs +128 -45
- package/esm2020/src/di/r3_injector.mjs +5 -15
- package/esm2020/src/di/reflective_injector.mjs +1 -1
- package/esm2020/src/errors.mjs +22 -5
- package/esm2020/src/linker/template_ref.mjs +4 -13
- package/esm2020/src/linker/view_container_ref.mjs +26 -17
- package/esm2020/src/metadata/directives.mjs +14 -5
- package/esm2020/src/render3/component_ref.mjs +20 -3
- package/esm2020/src/render3/instructions/element.mjs +7 -1
- package/esm2020/src/render3/instructions/element_container.mjs +7 -1
- package/esm2020/src/render3/instructions/shared.mjs +2 -2
- package/esm2020/src/render3/interfaces/injector.mjs +1 -1
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/src/zone/ng_zone.mjs +3 -2
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/esm2020/testing/src/r3_test_bed.mjs +6 -1
- package/fesm2015/core.mjs +229 -149
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +6 -1
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +229 -149
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +6 -1
- package/fesm2020/testing.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/migrations/router-link-empty-expression/index.js +1 -1
- package/schematics/migrations/typed-forms/index.js +2 -2
- package/schematics/migrations.json +0 -5
- package/testing/testing.d.ts +1 -1
- package/esm2020/src/render3/chained_injector.mjs +0 -32
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.2.
|
|
2
|
+
* @license Angular v13.2.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1702,13 +1702,18 @@ export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
|
|
|
1702
1702
|
* @see [Basics of testing components](guide/testing-components-basics)
|
|
1703
1703
|
* @see [Testing utility APIs](guide/testing-utility-apis)
|
|
1704
1704
|
*/
|
|
1705
|
-
export declare
|
|
1705
|
+
export declare class DebugElement extends DebugNode {
|
|
1706
|
+
constructor(nativeNode: Element);
|
|
1707
|
+
/**
|
|
1708
|
+
* The underlying DOM element at the root of the component.
|
|
1709
|
+
*/
|
|
1710
|
+
get nativeElement(): any;
|
|
1706
1711
|
/**
|
|
1707
1712
|
* The element tag name, if it is an element.
|
|
1708
1713
|
*/
|
|
1709
|
-
|
|
1714
|
+
get name(): string;
|
|
1710
1715
|
/**
|
|
1711
|
-
*
|
|
1716
|
+
* Gets a map of property names to property values for an element.
|
|
1712
1717
|
*
|
|
1713
1718
|
* This map includes:
|
|
1714
1719
|
* - Regular property bindings (e.g. `[id]="id"`)
|
|
@@ -1719,13 +1724,23 @@ export declare interface DebugElement extends DebugNode {
|
|
|
1719
1724
|
* - input property bindings (e.g. `[myCustomInput]="value"`)
|
|
1720
1725
|
* - attribute bindings (e.g. `[attr.role]="menu"`)
|
|
1721
1726
|
*/
|
|
1722
|
-
|
|
1727
|
+
get properties(): {
|
|
1723
1728
|
[key: string]: any;
|
|
1724
1729
|
};
|
|
1725
1730
|
/**
|
|
1726
1731
|
* A map of attribute names to attribute values for an element.
|
|
1727
1732
|
*/
|
|
1728
|
-
|
|
1733
|
+
get attributes(): {
|
|
1734
|
+
[key: string]: string | null;
|
|
1735
|
+
};
|
|
1736
|
+
/**
|
|
1737
|
+
* The inline styles of the DOM element.
|
|
1738
|
+
*
|
|
1739
|
+
* Will be `null` if there is no `style` property on the underlying DOM element.
|
|
1740
|
+
*
|
|
1741
|
+
* @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)
|
|
1742
|
+
*/
|
|
1743
|
+
get styles(): {
|
|
1729
1744
|
[key: string]: string | null;
|
|
1730
1745
|
};
|
|
1731
1746
|
/**
|
|
@@ -1738,33 +1753,19 @@ export declare interface DebugElement extends DebugNode {
|
|
|
1738
1753
|
*
|
|
1739
1754
|
* @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)
|
|
1740
1755
|
*/
|
|
1741
|
-
|
|
1756
|
+
get classes(): {
|
|
1742
1757
|
[key: string]: boolean;
|
|
1743
1758
|
};
|
|
1744
|
-
/**
|
|
1745
|
-
* The inline styles of the DOM element.
|
|
1746
|
-
*
|
|
1747
|
-
* Will be `null` if there is no `style` property on the underlying DOM element.
|
|
1748
|
-
*
|
|
1749
|
-
* @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)
|
|
1750
|
-
*/
|
|
1751
|
-
readonly styles: {
|
|
1752
|
-
[key: string]: string | null;
|
|
1753
|
-
};
|
|
1754
1759
|
/**
|
|
1755
1760
|
* The `childNodes` of the DOM element as a `DebugNode` array.
|
|
1756
1761
|
*
|
|
1757
1762
|
* @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)
|
|
1758
1763
|
*/
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* The underlying DOM element at the root of the component.
|
|
1762
|
-
*/
|
|
1763
|
-
readonly nativeElement: any;
|
|
1764
|
+
get childNodes(): DebugNode[];
|
|
1764
1765
|
/**
|
|
1765
1766
|
* The immediate `DebugElement` children. Walk the tree by descending through `children`.
|
|
1766
1767
|
*/
|
|
1767
|
-
|
|
1768
|
+
get children(): DebugElement[];
|
|
1768
1769
|
/**
|
|
1769
1770
|
* @returns the first `DebugElement` that matches the predicate at any depth in the subtree.
|
|
1770
1771
|
*/
|
|
@@ -1792,13 +1793,6 @@ export declare interface DebugElement extends DebugNode {
|
|
|
1792
1793
|
triggerEventHandler(eventName: string, eventObj: any): void;
|
|
1793
1794
|
}
|
|
1794
1795
|
|
|
1795
|
-
/**
|
|
1796
|
-
* @publicApi
|
|
1797
|
-
*/
|
|
1798
|
-
export declare const DebugElement: {
|
|
1799
|
-
new (...args: any[]): DebugElement;
|
|
1800
|
-
};
|
|
1801
|
-
|
|
1802
1796
|
/**
|
|
1803
1797
|
* @publicApi
|
|
1804
1798
|
*/
|
|
@@ -1811,28 +1805,24 @@ export declare class DebugEventListener {
|
|
|
1811
1805
|
/**
|
|
1812
1806
|
* @publicApi
|
|
1813
1807
|
*/
|
|
1814
|
-
export declare
|
|
1808
|
+
export declare class DebugNode {
|
|
1815
1809
|
/**
|
|
1816
|
-
* The
|
|
1817
|
-
* properties.
|
|
1810
|
+
* The underlying DOM node.
|
|
1818
1811
|
*/
|
|
1819
|
-
readonly
|
|
1812
|
+
readonly nativeNode: any;
|
|
1813
|
+
constructor(nativeNode: Node);
|
|
1820
1814
|
/**
|
|
1821
1815
|
* The `DebugElement` parent. Will be `null` if this is the root element.
|
|
1822
1816
|
*/
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* The underlying DOM node.
|
|
1826
|
-
*/
|
|
1827
|
-
readonly nativeNode: any;
|
|
1817
|
+
get parent(): DebugElement | null;
|
|
1828
1818
|
/**
|
|
1829
1819
|
* The host dependency injector. For example, the root element's component instance injector.
|
|
1830
1820
|
*/
|
|
1831
|
-
|
|
1821
|
+
get injector(): Injector;
|
|
1832
1822
|
/**
|
|
1833
1823
|
* The element's own component instance, if it has one.
|
|
1834
1824
|
*/
|
|
1835
|
-
|
|
1825
|
+
get componentInstance(): any;
|
|
1836
1826
|
/**
|
|
1837
1827
|
* An object that provides parent context for this element. Often an ancestor component instance
|
|
1838
1828
|
* that governs this element.
|
|
@@ -1841,28 +1831,26 @@ export declare interface DebugNode {
|
|
|
1841
1831
|
* property is the value of the row instance value. For example, the `hero` in `*ngFor="let hero
|
|
1842
1832
|
* of heroes"`.
|
|
1843
1833
|
*/
|
|
1844
|
-
|
|
1834
|
+
get context(): any;
|
|
1835
|
+
/**
|
|
1836
|
+
* The callbacks attached to the component's @Output properties and/or the element's event
|
|
1837
|
+
* properties.
|
|
1838
|
+
*/
|
|
1839
|
+
get listeners(): DebugEventListener[];
|
|
1845
1840
|
/**
|
|
1846
1841
|
* Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local
|
|
1847
1842
|
* variable name.
|
|
1848
1843
|
*/
|
|
1849
|
-
|
|
1844
|
+
get references(): {
|
|
1850
1845
|
[key: string]: any;
|
|
1851
1846
|
};
|
|
1852
1847
|
/**
|
|
1853
1848
|
* This component's injector lookup tokens. Includes the component itself plus the tokens that the
|
|
1854
1849
|
* component lists in its providers metadata.
|
|
1855
1850
|
*/
|
|
1856
|
-
|
|
1851
|
+
get providerTokens(): any[];
|
|
1857
1852
|
}
|
|
1858
1853
|
|
|
1859
|
-
/**
|
|
1860
|
-
* @publicApi
|
|
1861
|
-
*/
|
|
1862
|
-
export declare const DebugNode: {
|
|
1863
|
-
new (...args: any[]): DebugNode;
|
|
1864
|
-
};
|
|
1865
|
-
|
|
1866
1854
|
/**
|
|
1867
1855
|
* A logical node which comprise into `LView`s.
|
|
1868
1856
|
*
|
|
@@ -2779,7 +2767,7 @@ export declare interface ForwardRefFn {
|
|
|
2779
2767
|
/**
|
|
2780
2768
|
* @publicApi
|
|
2781
2769
|
*/
|
|
2782
|
-
declare
|
|
2770
|
+
declare function getDebugNode(nativeNode: any): DebugNode | null;
|
|
2783
2771
|
export { getDebugNode }
|
|
2784
2772
|
export { getDebugNode as ɵgetDebugNode }
|
|
2785
2773
|
|
|
@@ -3072,19 +3060,20 @@ export declare interface HostListener {
|
|
|
3072
3060
|
*
|
|
3073
3061
|
* ```
|
|
3074
3062
|
*
|
|
3075
|
-
* The following example registers another DOM event handler that listens for key-press
|
|
3063
|
+
* The following example registers another DOM event handler that listens for `Enter` key-press
|
|
3064
|
+
* events on the global `window`.
|
|
3076
3065
|
* ``` ts
|
|
3077
3066
|
* import { HostListener, Component } from "@angular/core";
|
|
3078
3067
|
*
|
|
3079
3068
|
* @Component({
|
|
3080
3069
|
* selector: 'app',
|
|
3081
|
-
* template: `<h1>Hello, you have pressed
|
|
3082
|
-
* increment the counter.
|
|
3070
|
+
* template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key
|
|
3071
|
+
* to increment the counter.
|
|
3083
3072
|
* <button (click)="resetCounter()">Reset Counter</button>`
|
|
3084
3073
|
* })
|
|
3085
3074
|
* class AppComponent {
|
|
3086
3075
|
* counter = 0;
|
|
3087
|
-
* @HostListener('window:keydown', ['$event'])
|
|
3076
|
+
* @HostListener('window:keydown.enter', ['$event'])
|
|
3088
3077
|
* handleKeyDown(event: KeyboardEvent) {
|
|
3089
3078
|
* this.counter++;
|
|
3090
3079
|
* }
|
|
@@ -3093,6 +3082,14 @@ export declare interface HostListener {
|
|
|
3093
3082
|
* }
|
|
3094
3083
|
* }
|
|
3095
3084
|
* ```
|
|
3085
|
+
* The list of valid key names for `keydown` and `keyup` events
|
|
3086
|
+
* can be found here:
|
|
3087
|
+
* https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
|
|
3088
|
+
*
|
|
3089
|
+
* Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
|
|
3090
|
+
*
|
|
3091
|
+
* The global target names that can be used to prefix an event name are
|
|
3092
|
+
* `document:`, `window:` and `body:`.
|
|
3096
3093
|
*
|
|
3097
3094
|
* @Annotation
|
|
3098
3095
|
* @publicApi
|
|
@@ -5583,33 +5580,14 @@ export declare class PlatformRef {
|
|
|
5583
5580
|
private _destroyListeners;
|
|
5584
5581
|
private _destroyed;
|
|
5585
5582
|
/**
|
|
5586
|
-
* Creates an instance of an `@NgModule` for the given platform
|
|
5587
|
-
*
|
|
5588
|
-
* @usageNotes
|
|
5589
|
-
*
|
|
5590
|
-
* The following example creates the NgModule for a browser platform.
|
|
5591
|
-
*
|
|
5592
|
-
* ```typescript
|
|
5593
|
-
* my_module.ts:
|
|
5594
|
-
*
|
|
5595
|
-
* @NgModule({
|
|
5596
|
-
* imports: [BrowserModule]
|
|
5597
|
-
* })
|
|
5598
|
-
* class MyModule {}
|
|
5599
|
-
*
|
|
5600
|
-
* main.ts:
|
|
5601
|
-
* import {MyModuleNgFactory} from './my_module.ngfactory';
|
|
5602
|
-
* import {platformBrowser} from '@angular/platform-browser';
|
|
5603
|
-
*
|
|
5604
|
-
* let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);
|
|
5605
|
-
* ```
|
|
5583
|
+
* Creates an instance of an `@NgModule` for the given platform.
|
|
5606
5584
|
*
|
|
5607
5585
|
* @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function
|
|
5608
5586
|
* argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.
|
|
5609
5587
|
*/
|
|
5610
5588
|
bootstrapModuleFactory<M>(moduleFactory: NgModuleFactory<M>, options?: BootstrapOptions): Promise<NgModuleRef<M>>;
|
|
5611
5589
|
/**
|
|
5612
|
-
* Creates an instance of an `@NgModule` for a given platform
|
|
5590
|
+
* Creates an instance of an `@NgModule` for a given platform.
|
|
5613
5591
|
*
|
|
5614
5592
|
* @usageNotes
|
|
5615
5593
|
* ### Simple Example
|
|
@@ -7333,10 +7311,9 @@ export declare abstract class TemplateRef<C> {
|
|
|
7333
7311
|
* and attaches it to the view container.
|
|
7334
7312
|
* @param context The data-binding context of the embedded view, as declared
|
|
7335
7313
|
* in the `<ng-template>` usage.
|
|
7336
|
-
* @param injector Injector to be used within the embedded view.
|
|
7337
7314
|
* @returns The new embedded view object.
|
|
7338
7315
|
*/
|
|
7339
|
-
abstract createEmbeddedView(context: C
|
|
7316
|
+
abstract createEmbeddedView(context: C): EmbeddedViewRef<C>;
|
|
7340
7317
|
}
|
|
7341
7318
|
|
|
7342
7319
|
/**
|
|
@@ -9014,23 +8991,6 @@ export declare abstract class ViewContainerRef {
|
|
|
9014
8991
|
* @returns The number of views.
|
|
9015
8992
|
*/
|
|
9016
8993
|
abstract get length(): number;
|
|
9017
|
-
/**
|
|
9018
|
-
* Instantiates an embedded view and inserts it
|
|
9019
|
-
* into this container.
|
|
9020
|
-
* @param templateRef The HTML template that defines the view.
|
|
9021
|
-
* @param context The data-binding context of the embedded view, as declared
|
|
9022
|
-
* in the `<ng-template>` usage.
|
|
9023
|
-
* @param options Extra configuration for the created view. Includes:
|
|
9024
|
-
* * index: The 0-based index at which to insert the new view into this container.
|
|
9025
|
-
* If not specified, appends the new view as the last entry.
|
|
9026
|
-
* * injector: Injector to be used within the embedded view.
|
|
9027
|
-
*
|
|
9028
|
-
* @returns The `ViewRef` instance for the newly created view.
|
|
9029
|
-
*/
|
|
9030
|
-
abstract createEmbeddedView<C>(templateRef: TemplateRef<C>, context?: C, options?: {
|
|
9031
|
-
index?: number;
|
|
9032
|
-
injector?: Injector;
|
|
9033
|
-
}): EmbeddedViewRef<C>;
|
|
9034
8994
|
/**
|
|
9035
8995
|
* Instantiates an embedded view and inserts it
|
|
9036
8996
|
* into this container.
|
|
@@ -9820,7 +9780,7 @@ export declare function ɵfindLocaleData(locale: string): any;
|
|
|
9820
9780
|
*/
|
|
9821
9781
|
export declare function ɵflushModuleScopingQueueAsMuchAsPossible(): void;
|
|
9822
9782
|
|
|
9823
|
-
export declare
|
|
9783
|
+
export declare function ɵgetDebugNodeR2(_nativeNode: any): DebugNode | null;
|
|
9824
9784
|
|
|
9825
9785
|
/**
|
|
9826
9786
|
* Retrieves directive instances associated with a given DOM node. Does not include
|
|
@@ -10543,9 +10503,24 @@ export declare function ɵresolveComponentResources(resourceResolver: (url: stri
|
|
|
10543
10503
|
text(): Promise<string>;
|
|
10544
10504
|
}>)): Promise<void>;
|
|
10545
10505
|
|
|
10546
|
-
|
|
10506
|
+
/**
|
|
10507
|
+
* Class that represents a runtime error.
|
|
10508
|
+
* Formats and outputs the error message in a consistent way.
|
|
10509
|
+
*
|
|
10510
|
+
* Example:
|
|
10511
|
+
* ```
|
|
10512
|
+
* throw new RuntimeError(
|
|
10513
|
+
* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,
|
|
10514
|
+
* ngDevMode && 'Injector has already been destroyed.');
|
|
10515
|
+
* ```
|
|
10516
|
+
*
|
|
10517
|
+
* Note: the `message` argument contains a descriptive error message as a string in development
|
|
10518
|
+
* mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the
|
|
10519
|
+
* `message` argument becomes `false`, thus we account for it in the typings and the runtime logic.
|
|
10520
|
+
*/
|
|
10521
|
+
export declare class ɵRuntimeError<T extends number = RuntimeErrorCode> extends Error {
|
|
10547
10522
|
code: T;
|
|
10548
|
-
constructor(code: T, message: string);
|
|
10523
|
+
constructor(code: T, message: null | false | string);
|
|
10549
10524
|
}
|
|
10550
10525
|
|
|
10551
10526
|
/**
|
|
@@ -12127,10 +12102,11 @@ export declare function ɵɵdisableBindings(): void;
|
|
|
12127
12102
|
* @param name Name of the DOM Node
|
|
12128
12103
|
* @param attrsIndex Index of the element's attributes in the `consts` array.
|
|
12129
12104
|
* @param localRefsIndex Index of the element's local references in the `consts` array.
|
|
12105
|
+
* @returns This function returns itself so that it may be chained.
|
|
12130
12106
|
*
|
|
12131
12107
|
* @codeGenApi
|
|
12132
12108
|
*/
|
|
12133
|
-
export declare function ɵɵelement(index: number, name: string, attrsIndex?: number | null, localRefsIndex?: number):
|
|
12109
|
+
export declare function ɵɵelement(index: number, name: string, attrsIndex?: number | null, localRefsIndex?: number): typeof ɵɵelement;
|
|
12134
12110
|
|
|
12135
12111
|
/**
|
|
12136
12112
|
* Creates an empty logical container using {@link elementContainerStart}
|
|
@@ -12139,17 +12115,19 @@ export declare function ɵɵelement(index: number, name: string, attrsIndex?: nu
|
|
|
12139
12115
|
* @param index Index of the element in the LView array
|
|
12140
12116
|
* @param attrsIndex Index of the container attributes in the `consts` array.
|
|
12141
12117
|
* @param localRefsIndex Index of the container's local references in the `consts` array.
|
|
12118
|
+
* @returns This function returns itself so that it may be chained.
|
|
12142
12119
|
*
|
|
12143
12120
|
* @codeGenApi
|
|
12144
12121
|
*/
|
|
12145
|
-
export declare function ɵɵelementContainer(index: number, attrsIndex?: number | null, localRefsIndex?: number):
|
|
12122
|
+
export declare function ɵɵelementContainer(index: number, attrsIndex?: number | null, localRefsIndex?: number): typeof ɵɵelementContainer;
|
|
12146
12123
|
|
|
12147
12124
|
/**
|
|
12148
12125
|
* Mark the end of the <ng-container>.
|
|
12126
|
+
* @returns This function returns itself so that it may be chained.
|
|
12149
12127
|
*
|
|
12150
12128
|
* @codeGenApi
|
|
12151
12129
|
*/
|
|
12152
|
-
export declare function ɵɵelementContainerEnd():
|
|
12130
|
+
export declare function ɵɵelementContainerEnd(): typeof ɵɵelementContainerEnd;
|
|
12153
12131
|
|
|
12154
12132
|
/**
|
|
12155
12133
|
* Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.
|
|
@@ -12158,6 +12136,7 @@ export declare function ɵɵelementContainerEnd(): void;
|
|
|
12158
12136
|
* @param index Index of the element in the LView array
|
|
12159
12137
|
* @param attrsIndex Index of the container attributes in the `consts` array.
|
|
12160
12138
|
* @param localRefsIndex Index of the container's local references in the `consts` array.
|
|
12139
|
+
* @returns This function returns itself so that it may be chained.
|
|
12161
12140
|
*
|
|
12162
12141
|
* Even if this instruction accepts a set of attributes no actual attribute values are propagated to
|
|
12163
12142
|
* the DOM (as a comment node can't have attributes). Attributes are here only for directive
|
|
@@ -12165,14 +12144,15 @@ export declare function ɵɵelementContainerEnd(): void;
|
|
|
12165
12144
|
*
|
|
12166
12145
|
* @codeGenApi
|
|
12167
12146
|
*/
|
|
12168
|
-
export declare function ɵɵelementContainerStart(index: number, attrsIndex?: number | null, localRefsIndex?: number):
|
|
12147
|
+
export declare function ɵɵelementContainerStart(index: number, attrsIndex?: number | null, localRefsIndex?: number): typeof ɵɵelementContainerStart;
|
|
12169
12148
|
|
|
12170
12149
|
/**
|
|
12171
12150
|
* Mark the end of the element.
|
|
12151
|
+
* @returns This function returns itself so that it may be chained.
|
|
12172
12152
|
*
|
|
12173
12153
|
* @codeGenApi
|
|
12174
12154
|
*/
|
|
12175
|
-
export declare function ɵɵelementEnd():
|
|
12155
|
+
export declare function ɵɵelementEnd(): typeof ɵɵelementEnd;
|
|
12176
12156
|
|
|
12177
12157
|
|
|
12178
12158
|
/**
|
|
@@ -12182,6 +12162,7 @@ export declare function ɵɵelementEnd(): void;
|
|
|
12182
12162
|
* @param name Name of the DOM Node
|
|
12183
12163
|
* @param attrsIndex Index of the element's attributes in the `consts` array.
|
|
12184
12164
|
* @param localRefsIndex Index of the element's local references in the `consts` array.
|
|
12165
|
+
* @returns This function returns itself so that it may be chained.
|
|
12185
12166
|
*
|
|
12186
12167
|
* Attributes and localRefs are passed as an array of strings where elements with an even index
|
|
12187
12168
|
* hold an attribute name and elements with an odd index hold an attribute value, ex.:
|
|
@@ -12189,7 +12170,7 @@ export declare function ɵɵelementEnd(): void;
|
|
|
12189
12170
|
*
|
|
12190
12171
|
* @codeGenApi
|
|
12191
12172
|
*/
|
|
12192
|
-
export declare function ɵɵelementStart(index: number, name: string, attrsIndex?: number | null, localRefsIndex?: number):
|
|
12173
|
+
export declare function ɵɵelementStart(index: number, name: string, attrsIndex?: number | null, localRefsIndex?: number): typeof ɵɵelementStart;
|
|
12193
12174
|
|
|
12194
12175
|
/**
|
|
12195
12176
|
* Enables directive matching on elements.
|