File tree Expand file tree Collapse file tree 3 files changed +0
-22
lines changed
material-experimental/mdc-tabs/testing
tools/public_api_guard/material Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -69,16 +69,6 @@ export class MatTabHarness extends ContentContainerComponentHarness<string> {
69
69
return contentEl . text ( ) ;
70
70
}
71
71
72
- /**
73
- * Gets a `HarnessLoader` that can be used to load harnesses for components within the tab's
74
- * content area.
75
- * @deprecated Use `getHarness` or `getChildLoader` instead.
76
- * @breaking -change 12.0.0
77
- */
78
- async getHarnessLoaderForContent ( ) : Promise < HarnessLoader > {
79
- return this . getRootHarnessLoader ( ) ;
80
- }
81
-
82
72
protected override async getRootHarnessLoader ( ) : Promise < HarnessLoader > {
83
73
const contentId = await this . _getContentId ( ) ;
84
74
return this . documentRootLocatorFactory ( ) . harnessLoaderFor ( `#${ contentId } ` ) ;
Original file line number Diff line number Diff line change @@ -69,16 +69,6 @@ export class MatTabHarness extends ContentContainerComponentHarness<string> {
69
69
return contentEl . text ( ) ;
70
70
}
71
71
72
- /**
73
- * Gets a `HarnessLoader` that can be used to load harnesses for components within the tab's
74
- * content area.
75
- * @deprecated Use `getHarness` or `getChildLoader` instead.
76
- * @breaking -change 12.0.0
77
- */
78
- async getHarnessLoaderForContent ( ) : Promise < HarnessLoader > {
79
- return this . getRootHarnessLoader ( ) ;
80
- }
81
-
82
72
protected override async getRootHarnessLoader ( ) : Promise < HarnessLoader > {
83
73
const contentId = await this . _getContentId ( ) ;
84
74
return this . documentRootLocatorFactory ( ) . harnessLoaderFor ( `#${ contentId } ` ) ;
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ export class MatTabGroupHarness extends ComponentHarness {
23
23
export class MatTabHarness extends ContentContainerComponentHarness <string > {
24
24
getAriaLabel(): Promise <string | null >;
25
25
getAriaLabelledby(): Promise <string | null >;
26
- // @deprecated
27
- getHarnessLoaderForContent(): Promise <HarnessLoader >;
28
26
getLabel(): Promise <string >;
29
27
// (undocumented)
30
28
protected getRootHarnessLoader(): Promise <HarnessLoader >;
You can’t perform that action at this time.
0 commit comments